svn commit: trunk/uClibc/libc/sysdeps/linux/i386/bits

psm at uclibc.org psm at uclibc.org
Wed Nov 2 17:43:40 UTC 2005


Author: psm
Date: 2005-11-02 09:43:38 -0800 (Wed, 02 Nov 2005)
New Revision: 12115

Log:
Cleaner i386/syscalls.h patch to handle macro redefines proposed by jocke

Modified:
   trunk/uClibc/libc/sysdeps/linux/i386/bits/syscalls.h


Changeset:
Modified: trunk/uClibc/libc/sysdeps/linux/i386/bits/syscalls.h
===================================================================
--- trunk/uClibc/libc/sysdeps/linux/i386/bits/syscalls.h	2005-11-02 17:28:40 UTC (rev 12114)
+++ trunk/uClibc/libc/sysdeps/linux/i386/bits/syscalls.h	2005-11-02 17:43:38 UTC (rev 12115)
@@ -28,8 +28,6 @@
      ".L__X'%edi = 3\n\t"
      ".L__X'%ebp = 3\n\t"
      ".L__X'%esp = 3\n\t"
-     ".ifndef _BITS_SYSCALLS_ASM\n\t"
-     ".set _BITS_SYSCALLS_ASM,1\n\t"
      ".macro bpushl name reg\n\t"
      ".if 1 - \\name\n\t"
      ".if 2 - \\name\n\t"
@@ -54,8 +52,7 @@
      "movl \\reg, %ebx\n\t"
      ".endif\n\t"
      ".endif\n\t"
-     ".endm\n\t"
-     ".endif\n\t");
+     ".endm\n\t");
 
 
 #undef _syscall0
@@ -147,6 +144,9 @@
 #define ASMFMT_5(arg1, arg2, arg3, arg4, arg5) \
 	, "a" (arg1), "c" (arg2), "d" (arg3), "S" (arg4), "D" (arg5)
 
+asm(".purgem bpushl\n\t"
+    ".purgem bpopl\n\t"
+    ".purgem bmovl\n\t");
 
 #endif /* __ASSEMBLER__ */
 #endif /* _BITS_SYSCALLS_H */




More information about the uClibc-cvs mailing list