From f4f4921e08a4ce854486d0777d098fbab8b92fd2 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Thu, 2 Dec 2004 06:14:16 +0000 Subject: [PATCH] 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 --- gcc/ChangeLog | 5 +++++ gcc/config/rs6000/rs6000.c | 6 ++---- 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 + + * config/rs6000/rs6000.c (rs6000_assemble_integer): Put back the + #ifdef RELOCATABLE_NEEDS_FIXUP. + 2004-12-01 Roger Sayle 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); }