summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2001-01-05 12:37:16 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2001-01-05 12:37:16 +0000
commit7bac741c660be4dcf4d5467b0ab45dc880536f29 (patch)
tree41765e83456ec6f4e422da79b47e4e247212217c
parent6663349b8883039f22478e485ceebfe7711de84e (diff)
downloaddrakx-7bac741c660be4dcf4d5467b0ab45dc880536f29.tar
drakx-7bac741c660be4dcf4d5467b0ab45dc880536f29.tar.gz
drakx-7bac741c660be4dcf4d5467b0ab45dc880536f29.tar.bz2
drakx-7bac741c660be4dcf4d5467b0ab45dc880536f29.tar.xz
drakx-7bac741c660be4dcf4d5467b0ab45dc880536f29.zip
fix of 4/5 parameters unified syscalls from latest dietlibc
-rw-r--r--mdk-stage1/dietlibc/Makefile2
-rw-r--r--mdk-stage1/dietlibc/i386/unified.S4
-rw-r--r--mdk-stage1/dietlibc/syscalls.s/mount.S3
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)