summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/i386
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2005-11-02 21:18:56 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2005-11-02 21:18:56 +0000
commit08dfb1d906a0230057e617b86eb034008b4bba4a (patch)
tree075d87b4e681adcaa45564eaf8e2dceaf5217ee9 /libc/sysdeps/linux/i386
parent170528af572f4e088d537993c0f01f24dff6a33c (diff)
Undo 12115, it fails on building libc/sysdeps/linux/common
Diffstat (limited to 'libc/sysdeps/linux/i386')
-rw-r--r--libc/sysdeps/linux/i386/bits/syscalls.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/libc/sysdeps/linux/i386/bits/syscalls.h b/libc/sysdeps/linux/i386/bits/syscalls.h
index 3978bc41f..df3b0b429 100644
--- a/libc/sysdeps/linux/i386/bits/syscalls.h
+++ b/libc/sysdeps/linux/i386/bits/syscalls.h
@@ -28,6 +28,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"
@@ -52,7 +54,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
@@ -144,9 +147,5 @@ return (type) (INLINE_SYSCALL(name, 5, arg1, arg2, arg3, arg4, arg5)); \
#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 */