summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/powerpc/bits/syscalls.h
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2003-02-16 01:22:41 +0000
committerEric Andersen <andersen@codepoet.org>2003-02-16 01:22:41 +0000
commit817cfa7ee7df27b77f594dbc34d1cc82e6850d31 (patch)
treedd7562fdcde9559fe15be31d597f27333f2ab0b6 /libc/sysdeps/linux/powerpc/bits/syscalls.h
parent7c9619d9cca422cdb2bda053c474dc477eea6a42 (diff)
Fixup powerpc syscalls to eliminate warnings with gcc-3.2, and fix
some other minor warnings.
Diffstat (limited to 'libc/sysdeps/linux/powerpc/bits/syscalls.h')
-rw-r--r--libc/sysdeps/linux/powerpc/bits/syscalls.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/libc/sysdeps/linux/powerpc/bits/syscalls.h b/libc/sysdeps/linux/powerpc/bits/syscalls.h
index f2a1b6da4..ec9e8507f 100644
--- a/libc/sysdeps/linux/powerpc/bits/syscalls.h
+++ b/libc/sysdeps/linux/powerpc/bits/syscalls.h
@@ -24,12 +24,12 @@
__asm__ ( \
".section \".text\"\n\t" \
".align 2\n\t" \
- ".globl "###name"\n\t" \
- ".type "###name",@function\n" \
+ ".globl " STRINGIFY(name) "\n\t" \
+ ".type " STRINGIFY(name) ",@function\n" \
#name":\n\tli 0," STRINGIFY(__NR_##name) "\n\t" \
- "b "JUMPTARGET(__uClibc_syscall)"\n" \
- ".Lfe1"###name":\n\t" \
- ".size\t"###name ",.Lfe1"###name"-"###name"\n" \
+ "b " JUMPTARGET(__uClibc_syscall) "\n" \
+ ".Lfe1" STRINGIFY(name) ":\n\t" \
+ ".size\t" STRINGIFY(name) ",.Lfe1" STRINGIFY(name) "-" STRINGIFY(name) "\n" \
)
#undef _syscall0