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
This commit is contained in:
Alan Modra 2004-12-02 06:14:16 +00:00 committed by Alan Modra
parent 6a46f71d27
commit f4f4921e08
2 changed files with 7 additions and 4 deletions

View 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 Roger Sayle <roger@eyesopen.com>
PR target/9908

View File

@ -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);
}