]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
rs6000.c (rs6000_assemble_integer): Put back the #ifdef RELOCATABLE_NEEDS_FIXUP.
authorAlan Modra <amodra@bigpond.net.au>
Thu, 2 Dec 2004 06:15:58 +0000 (06:15 +0000)
committerAlan Modra <amodra@gcc.gnu.org>
Thu, 2 Dec 2004 06:15:58 +0000 (16:45 +1030)
* config/rs6000/rs6000.c (rs6000_assemble_integer): Put back the
#ifdef RELOCATABLE_NEEDS_FIXUP.

From-SVN: r91618

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

index 706c50228741154a9e6824df0dd39f885d426b20..2765ae43b4a74dc7e0113d52e943ef9ad138c6cc 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  Nathanael Nerode  <neroden@gcc.gnu.org>
 
        PR preprocessor/17651
index 50e45eed4cfbb05a155b6b88d1aae627f4dcca83..e6aa021047a50bb9a0451cb69ac7df67ba375022 100644 (file)
@@ -9742,10 +9742,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
@@ -9754,6 +9750,7 @@ print_operand_address (FILE *file, rtx x)
 static bool
 rs6000_assemble_integer (rtx x, unsigned int size, int aligned_p)
 {
+#ifndef RELOCATABLE_NEEDS_FIXUP
   /* Special handling for SI values.  */
   if (RELOCATABLE_NEEDS_FIXUP && size == 4 && aligned_p)
     {
@@ -9802,6 +9799,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);
 }