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. --- ldso/ldso/powerpc/dl-startup.h | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) (limited to 'ldso/ldso/powerpc/dl-startup.h') diff --git a/ldso/ldso/powerpc/dl-startup.h b/ldso/ldso/powerpc/dl-startup.h index ae7939eb2..615db6926 100644 --- a/ldso/ldso/powerpc/dl-startup.h +++ b/ldso/ldso/powerpc/dl-startup.h @@ -5,16 +5,15 @@ /* Overrive the default _dl_boot function, and replace it with a bit of asm. * Then call the real _dl_boot function, which is now named _dl_boot2. */ -asm("\ -.text -.globl _dl_boot -_dl_boot: - mr 3,1 - addi 1,1,-16 - - bl _dl_boot2 -.previous\n\ -"); +asm("" \ +" .text\n" \ +" .globl _dl_boot\n" \ +"_dl_boot:\n" \ +" mr 3,1\n" \ +" addi 1,1,-16\n" \ +" bl _dl_boot2\n" \ +".previous\n" \ +); #define _dl_boot _dl_boot2 #define LD_BOOT(X) static void * __attribute__ ((unused)) _dl_boot (X) -- cgit v1.2.3