This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [RS6000] Fix PR16952, -mrelocatable broken
> OK. Andrew informs me my patch broke powerpc-darwin. :-( Too many
> sysv only macros and variables in the block, so I'm committing the
> following to fix the breakage. Sorry! If you like, I'll move all the
> sysv and linux only code off into another file for 4.1.
>
> * config/rs6000/rs6000.c (rs6000_assemble_integer): Put back the
> #ifdef RELOCATABLE_NEEDS_FIXUP.
Your patch broke powerpc-darwin on the 3.4 branch:
static bool
rs6000_assemble_integer (rtx x, unsigned int size, int aligned_p)
{
#ifndef RELOCATABLE_NEEDS_FIXUP
/* Special handling for SI values. */
if (RELOCATABLE_NEEDS_FIXUP && size == 4 && aligned_p)
{
--
Eric Botcazou