diff options
| author | Peter S. Mazinger <ps.m@gmx.net> | 2005-11-02 16:13:41 +0000 | 
|---|---|---|
| committer | Peter S. Mazinger <ps.m@gmx.net> | 2005-11-02 16:13:41 +0000 | 
| commit | 16f4df8b52de1df0f810e157d9711caa75115e28 (patch) | |
| tree | fa121625baaf7bbe85d08718022c9465e43f11fb /libc/sysdeps | |
| parent | 5fe51654d35ae05858a0d1d94e6783a98f09fe47 (diff) | |
Allow sources using syscalls to be IMA compiled on x86
Diffstat (limited to 'libc/sysdeps')
| -rw-r--r-- | libc/sysdeps/linux/i386/bits/syscalls.h | 5 | 
1 files changed, 4 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/i386/bits/syscalls.h b/libc/sysdeps/linux/i386/bits/syscalls.h index 944fb734a..e9f9e7885 100644 --- a/libc/sysdeps/linux/i386/bits/syscalls.h +++ b/libc/sysdeps/linux/i386/bits/syscalls.h @@ -30,6 +30,8 @@ asm (".L__X'%ebx = 1\n\t"       ".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 @@ asm (".L__X'%ebx = 1\n\t"       "movl \\reg, %ebx\n\t"       ".endif\n\t"       ".endif\n\t" -     ".endm\n\t"); +     ".endm\n\t" +     ".endif\n\t");  #undef _syscall0  | 
