summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Novoa III <mjn3@codepoet.org>2001-02-19 00:16:39 +0000
committerManuel Novoa III <mjn3@codepoet.org>2001-02-19 00:16:39 +0000
commit438aac726283dfffa6a5cf84b4acf6df0250af94 (patch)
tree7c1e944f2f2b3158a62406ba6f37c8d6e3907611
parentf73d7b6a3a729adccb465813c39f6b2bee580917 (diff)
Revert to standard handling of _exit syscall in unified syscall case on i386.
-rw-r--r--libc/sysdeps/linux/common/unified_syscall_i386.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/common/unified_syscall_i386.h b/libc/sysdeps/linux/common/unified_syscall_i386.h
index 88bfa415f..f81dcba71 100644
--- a/libc/sysdeps/linux/common/unified_syscall_i386.h
+++ b/libc/sysdeps/linux/common/unified_syscall_i386.h
@@ -7,6 +7,11 @@
#include "str_syscalls.h"
+/*
+ * Disable the following for now... it only saved space if no other
+ * syscalls but _exit were used, and no longer works (__uClibc_main).
+ */
+#if 0
#undef uClibc_syscall_exit
#define uClibc_syscall_exit(type,name,type1,arg1) \
__asm__ ( \
@@ -15,6 +20,7 @@ __asm__ ( \
"movl %esp,%ebp;\nsubl $4,%esp;\npushl %ebx;\nmovl 8(%ebp),%ebx;\n" \
"jmp _start_exit\n.Lfe1"###name":\n.size "###name",.Lfe1"###name"-"###name \
)
+#endif
#define unified_syscall_body(name) \
__asm__ ( \