summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2005-11-02 17:43:38 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2005-11-02 17:43:38 +0000
commit79363f422fc4bd9fc563b0887eed5020f4b4ed0c (patch)
tree6e156bd38a24677d43d58d3e674f1908ecf71b86 /libc/sysdeps/linux
parent02fc7acad50f49ccc90f23a14fe179eb38c51007 (diff)
Cleaner i386/syscalls.h patch to handle macro redefines proposed by jocke
Diffstat (limited to 'libc/sysdeps/linux')
-rw-r--r--libc/sysdeps/linux/i386/bits/syscalls.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/libc/sysdeps/linux/i386/bits/syscalls.h b/libc/sysdeps/linux/i386/bits/syscalls.h
index 2f88961c8..3978bc41f 100644
--- a/libc/sysdeps/linux/i386/bits/syscalls.h
+++ b/libc/sysdeps/linux/i386/bits/syscalls.h
@@ -28,8 +28,6 @@ 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,8 +52,7 @@ asm (".L__X'%ebx = 1\n\t"
"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 @@ 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 */