[uClibc-cvs] uClibc/libc/sysdeps/linux/powerpc/bits syscalls.h,1.6,1.7
Erik Andersen
andersen at codepoet.org
Sun Feb 16 01:22:43 UTC 2003
Update of /var/cvs/uClibc/libc/sysdeps/linux/powerpc/bits
In directory winder:/tmp/cvs-serv17709/libc/sysdeps/linux/powerpc/bits
Modified Files:
syscalls.h
Log Message:
Fixup powerpc syscalls to eliminate warnings with gcc-3.2, and fix
some other minor warnings.
Index: syscalls.h
===================================================================
RCS file: /var/cvs/uClibc/libc/sysdeps/linux/powerpc/bits/syscalls.h,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- syscalls.h 15 Nov 2002 14:12:12 -0000 1.6
+++ syscalls.h 16 Feb 2003 01:22:40 -0000 1.7
@@ -24,12 +24,12 @@
__asm__ ( \
".section \".text\"\n\t" \
".align 2\n\t" \
- ".globl "###name"\n\t" \
- ".type "###name", at function\n" \
+ ".globl " STRINGIFY(name) "\n\t" \
+ ".type " STRINGIFY(name) ", at 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
More information about the uClibc-cvs
mailing list