svn commit: trunk/uClibc/libc/sysdeps/linux/i386/bits
psm at uclibc.org
psm at uclibc.org
Wed Nov 2 16:13:42 UTC 2005
Author: psm
Date: 2005-11-02 08:13:41 -0800 (Wed, 02 Nov 2005)
New Revision: 12110
Log:
Allow sources using syscalls to be IMA compiled on x86
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 15:43:20 UTC (rev 12109)
+++ trunk/uClibc/libc/sysdeps/linux/i386/bits/syscalls.h 2005-11-02 16:13:41 UTC (rev 12110)
@@ -30,6 +30,8 @@
".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,7 +56,8 @@
"movl \\reg, %ebx\n\t"
".endif\n\t"
".endif\n\t"
- ".endm\n\t");
+ ".endm\n\t"
+ ".endif\n\t");
#undef _syscall0
More information about the uClibc-cvs
mailing list