This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [RS6000] Fix PR16952, -mrelocatable broken
On Sun, Dec 05, 2004 at 11:52:40AM +0100, Eric Botcazou wrote:
> #ifndef RELOCATABLE_NEEDS_FIXUP
Fixed. Thanks!
* config/rs6000/rs6000.c (rs6000_assemble_integer): Fix typo.
Index: gcc/config/rs6000/rs6000.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/rs6000/rs6000.c,v
retrieving revision 1.576.2.39
diff -u -p -r1.576.2.39 rs6000.c
--- gcc/config/rs6000/rs6000.c 2 Dec 2004 06:15:58 -0000 1.576.2.39
+++ gcc/config/rs6000/rs6000.c 5 Dec 2004 12:48:32 -0000
@@ -9750,7 +9750,7 @@ print_operand_address (FILE *file, rtx x
static bool
rs6000_assemble_integer (rtx x, unsigned int size, int aligned_p)
{
-#ifndef RELOCATABLE_NEEDS_FIXUP
+#ifdef RELOCATABLE_NEEDS_FIXUP
/* Special handling for SI values. */
if (RELOCATABLE_NEEDS_FIXUP && size == 4 && aligned_p)
{
--
Alan Modra
IBM OzLabs - Linux Technology Centre