Commit f4f4921e by Alan Modra Committed by Alan Modra

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
parent 6a46f71d
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> 2004-12-01 Roger Sayle <roger@eyesopen.com>
PR target/9908 PR target/9908
......
...@@ -11124,10 +11124,6 @@ print_operand_address (FILE *file, rtx x) ...@@ -11124,10 +11124,6 @@ print_operand_address (FILE *file, rtx x)
abort (); abort ();
} }
#ifndef RELOCATABLE_NEEDS_FIXUP
#define RELOCATABLE_NEEDS_FIXUP 0
#endif
/* Target hook for assembling integer objects. The PowerPC version has /* Target hook for assembling integer objects. The PowerPC version has
to handle fixup entries for relocatable code if RELOCATABLE_NEEDS_FIXUP to handle fixup entries for relocatable code if RELOCATABLE_NEEDS_FIXUP
is defined. It also needs to handle DI-mode objects on 64-bit is defined. It also needs to handle DI-mode objects on 64-bit
...@@ -11136,6 +11132,7 @@ print_operand_address (FILE *file, rtx x) ...@@ -11136,6 +11132,7 @@ print_operand_address (FILE *file, rtx x)
static bool static bool
rs6000_assemble_integer (rtx x, unsigned int size, int aligned_p) rs6000_assemble_integer (rtx x, unsigned int size, int aligned_p)
{ {
#ifdef RELOCATABLE_NEEDS_FIXUP
/* Special handling for SI values. */ /* Special handling for SI values. */
if (RELOCATABLE_NEEDS_FIXUP && size == 4 && aligned_p) if (RELOCATABLE_NEEDS_FIXUP && size == 4 && aligned_p)
{ {
...@@ -11185,6 +11182,7 @@ rs6000_assemble_integer (rtx x, unsigned int size, int aligned_p) ...@@ -11185,6 +11182,7 @@ rs6000_assemble_integer (rtx x, unsigned int size, int aligned_p)
return true; return true;
} }
} }
#endif /* RELOCATABLE_NEEDS_FIXUP */
return default_assemble_integer (x, size, aligned_p); return default_assemble_integer (x, size, aligned_p);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment