aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Modra <amodra@bigpond.net.au>2004-12-02 06:14:16 +0000
committerAlan Modra <amodra@gcc.gnu.org>2004-12-02 16:44:16 +1030
commitf4f4921e08a4ce854486d0777d098fbab8b92fd2 (patch)
tree48afd750beb62641d3264199dbd0e19e3095a1c6
parent6a46f71d27fb39e679d2c63c2d98bfadab0996d0 (diff)
downloadgcc-f4f4921e08a4ce854486d0777d098fbab8b92fd2.zip
gcc-f4f4921e08a4ce854486d0777d098fbab8b92fd2.tar.gz
gcc-f4f4921e08a4ce854486d0777d098fbab8b92fd2.tar.bz2
rs6000.c (rs6000_assemble_integer): Put back the #ifdef RELOCATABLE_NEEDS_FIXUP.
* config/rs6000/rs6000.c (rs6000_assemble_integer): Put back the #ifdef RELOCATABLE_NEEDS_FIXUP. From-SVN: r91617
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/rs6000/rs6000.c6
2 files changed, 7 insertions, 4 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index c300266..f5a01e8 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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
diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c
index 89f5335..da78160 100644
--- a/gcc/config/rs6000/rs6000.c
+++ b/gcc/config/rs6000/rs6000.c
@@ -11124,10 +11124,6 @@ print_operand_address (FILE *file, rtx x)
abort ();
}
-#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);
}