diff options
Diffstat (limited to 'mdk-stage1')
-rw-r--r-- | mdk-stage1/dietlibc/Makefile | 2 | ||||
-rw-r--r-- | mdk-stage1/dietlibc/i386/unified.S | 4 | ||||
-rw-r--r-- | mdk-stage1/dietlibc/syscalls.s/mount.S | 3 |
3 files changed, 6 insertions, 3 deletions
diff --git a/mdk-stage1/dietlibc/Makefile b/mdk-stage1/dietlibc/Makefile index 74aca4f27..4c0399092 100644 --- a/mdk-stage1/dietlibc/Makefile +++ b/mdk-stage1/dietlibc/Makefile @@ -31,7 +31,7 @@ CFLAGS += -Wall # $(CROSS)strip -x -R .comment -R .note $@ dietlibc.a: $(SYSCALLOBJ) $(LIBOBJ) __longjmp.o longjmp.o setjmp.o \ -start.o unified.o mmap.o mount.o +start.o unified.o mmap.o $(CROSS)ar cru dietlibc.a $^ libdietc.so: dietlibc.a diff --git a/mdk-stage1/dietlibc/i386/unified.S b/mdk-stage1/dietlibc/i386/unified.S index c3cd11001..740cb0ecc 100644 --- a/mdk-stage1/dietlibc/i386/unified.S +++ b/mdk-stage1/dietlibc/i386/unified.S @@ -10,8 +10,8 @@ __unified_syscall: movl 0x10(%esp),%ebx movl 0x14(%esp),%ecx movl 0x18(%esp),%edx - movl 0x1c(%esp),%edi - movl 0x20(%esp),%esi + movl 0x1c(%esp),%esi + movl 0x20(%esp),%edi int $0x80 cmp $-124,%eax jbe .Lnoerror diff --git a/mdk-stage1/dietlibc/syscalls.s/mount.S b/mdk-stage1/dietlibc/syscalls.s/mount.S new file mode 100644 index 000000000..2fd845561 --- /dev/null +++ b/mdk-stage1/dietlibc/syscalls.s/mount.S @@ -0,0 +1,3 @@ +#include "syscalls.h" + +syscall(mount,mount) |