From: Nathan Froyd Date: Fri, 5 Jun 2009 18:50:19 +0000 (+0000) Subject: eabi.asm (__eabi_convert): Don't define if _RELOCATABLE. X-Git-Tag: releases/gcc-4.5.0~5348 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=19b905ce29121de6335c9a90b3ef10c068ce0a66;p=thirdparty%2Fgcc.git eabi.asm (__eabi_convert): Don't define if _RELOCATABLE. * config/rs6000/eabi.asm (__eabi_convert): Don't define if _RELOCATABLE. (__eabi_uconvert): Likewise. From-SVN: r148223 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index ae7d48b7ba79..848734503d30 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2009-06-05 Nathan Froyd + + * config/rs6000/eabi.asm (__eabi_convert): Don't define if + _RELOCATABLE. + (__eabi_uconvert): Likewise. + 2009-06-05 Nathan Froyd * config/rs6000/ppc-asm.h: Protect auto-host.h inclusion and diff --git a/gcc/config/rs6000/eabi.asm b/gcc/config/rs6000/eabi.asm index f5581efebf9c..292d88e5016c 100644 --- a/gcc/config/rs6000/eabi.asm +++ b/gcc/config/rs6000/eabi.asm @@ -230,7 +230,7 @@ FUNC_END(__eabi) r11 has the address of .LCTOC1 in it. r12 has the value to add to each pointer r13 .. r31 are unchanged */ - +#ifdef _RELOCATABLE FUNC_START(__eabi_convert) cmplw 1,3,4 /* any pointers to convert? */ subf 5,3,4 /* calculate number of words to convert */ @@ -285,5 +285,5 @@ FUNC_START(__eabi_uconvert) blr FUNC_END(__eabi_uconvert) - +#endif #endif