From 817cfa7ee7df27b77f594dbc34d1cc82e6850d31 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Sun, 16 Feb 2003 01:22:41 +0000 Subject: Fixup powerpc syscalls to eliminate warnings with gcc-3.2, and fix some other minor warnings. --- libc/sysdeps/linux/powerpc/bits/syscalls.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'libc') 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 -- cgit v1.2.3