eabi.asm (__eabi_convert): Don't define if _RELOCATABLE.
authorNathan Froyd <froydnj@codesourcery.com>
Fri, 5 Jun 2009 18:50:19 +0000 (18:50 +0000)
committerNathan Froyd <froydnj@gcc.gnu.org>
Fri, 5 Jun 2009 18:50:19 +0000 (18:50 +0000)
* config/rs6000/eabi.asm (__eabi_convert): Don't define if
_RELOCATABLE.
(__eabi_uconvert): Likewise.

From-SVN: r148223

gcc/ChangeLog
gcc/config/rs6000/eabi.asm

index ae7d48b7ba7962a22ecb39c53543ed4328cfd309..848734503d3023576cbc587ad26949be31b66727 100644 (file)
@@ -1,3 +1,9 @@
+2009-06-05  Nathan Froyd  <froydnj@codesourcery.com>
+
+       * config/rs6000/eabi.asm (__eabi_convert): Don't define if
+       _RELOCATABLE.
+       (__eabi_uconvert): Likewise.
+
 2009-06-05  Nathan Froyd  <froydnj@codesourcery.com>
 
        * config/rs6000/ppc-asm.h: Protect auto-host.h inclusion and
index f5581efebf9c1f8be716eb681a30d047da457ea0..292d88e5016c4027671aa2433c8dda09decbcec4 100644 (file)
@@ -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