summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoramodra <amodra@138bc75d-0d04-0410-961f-82ee72b054a4>2004-12-02 06:14:16 +0000
committeramodra <amodra@138bc75d-0d04-0410-961f-82ee72b054a4>2004-12-02 06:14:16 +0000
commit35c369c208914558d8cb421816310c12d251799b (patch)
tree48afd750beb62641d3264199dbd0e19e3095a1c6
parent9f66d15b5dd40be3dc8fc76a59f2497def6d7285 (diff)
downloadgcc-35c369c208914558d8cb421816310c12d251799b.tar.gz
* config/rs6000/rs6000.c (rs6000_assemble_integer): Put back the
#ifdef RELOCATABLE_NEEDS_FIXUP. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91617 138bc75d-0d04-0410-961f-82ee72b054a4
-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 c30026637e5..f5a01e8d4b5 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 89f533563e5..da781605f27 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);
}