From 438aac726283dfffa6a5cf84b4acf6df0250af94 Mon Sep 17 00:00:00 2001 From: Manuel Novoa III Date: Mon, 19 Feb 2001 00:16:39 +0000 Subject: Revert to standard handling of _exit syscall in unified syscall case on i386. --- libc/sysdeps/linux/common/unified_syscall_i386.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'libc/sysdeps') 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__ ( \ -- cgit v1.2.3