rs6000.c (rs6000_assemble_integer): Put back the #ifdef RELOCATABLE_NEEDS_FIXUP.
authorAlan Modra <amodra@bigpond.net.au>
Thu, 2 Dec 2004 06:14:16 +0000 (06:14 +0000)
committerAlan Modra <amodra@gcc.gnu.org>
Thu, 2 Dec 2004 06:14:16 +0000 (16:44 +1030)
* config/rs6000/rs6000.c (rs6000_assemble_integer): Put back the
#ifdef RELOCATABLE_NEEDS_FIXUP.

From-SVN: r91617

gcc/ChangeLog
gcc/config/rs6000/rs6000.c

index c30026637e58052c47297e8d5b27146a9faf9b2b..f5a01e8d4b5ef19f55eedbdf626d43c8497f6061 100644 (file)
@@ -1,3 +1,8 @@
+2004-12-02  Alan Modra  <amodra@bigpond.net.au>
+
+       * config/rs6000/rs6000.c (rs6000_assemble_integer): Put back the
+       #ifdef RELOCATABLE_NEEDS_FIXUP.
+
 2004-12-01  Roger Sayle  <roger@eyesopen.com>
 
        PR target/9908
index 89f533563e5226fb28f886f1f81f88d68f726f14..da781605f27b69168638519c723e22db91623b16 100644 (file)
@@ -11124,10 +11124,6 @@ print_operand_address (FILE *file, rtx x)
     abort ();
 }
 \f
-#ifndef RELOCATABLE_NEEDS_FIXUP
-#define RELOCATABLE_NEEDS_FIXUP 0
-#endif
-
 /* Target hook for assembling integer objects.  The PowerPC version has
    to handle fixup entries for relocatable code if RELOCATABLE_NEEDS_FIXUP
    is defined.  It also needs to handle DI-mode objects on 64-bit
@@ -11136,6 +11132,7 @@ print_operand_address (FILE *file, rtx x)
 static bool
 rs6000_assemble_integer (rtx x, unsigned int size, int aligned_p)
 {
+#ifdef RELOCATABLE_NEEDS_FIXUP
   /* Special handling for SI values.  */
   if (RELOCATABLE_NEEDS_FIXUP && size == 4 && aligned_p)
     {
@@ -11185,6 +11182,7 @@ rs6000_assemble_integer (rtx x, unsigned int size, int aligned_p)
          return true;
        }
     }
+#endif /* RELOCATABLE_NEEDS_FIXUP */
   return default_assemble_integer (x, size, aligned_p);
 }