[PATCH] PPC32: Fix target/9732 regression

Franz Sirl Franz.Sirl-kernel@lauterbach.com
Tue Feb 25 23:32:00 GMT 2003


On Tuesday 18 February 2003 21:57, Franz Sirl wrote:
> Hi,
>
> finally we have been bitten by not making PIC_OFFSET_TABLE_REGNUM a fixed
> register on powerpc-linux-gnu.
>
> The appended patch fixes that. Bootstrapped and regtested OK.
>
> OK to commit (including PR testcase) to mainline, 3.3 and 3.2?
>
> Franz.
>
>
> 	* config/rs6000/rs6000.c (first_reg_to_save): Handle
> 	PIC_OFFSET_TABLE_REGNUM for -fPIC too.
> 	(rs6000_emit_prologue): Likewise.
> 	(rs6000_emit_epilogue): Likewise.
> 	* config/rs6000/rs6000.h (CONDITIONAL_REGISTER_USAGE): Make
> 	PIC_OFFSET_TABLE_REGNUM a fixed register for -fPIC.

Committed after OK from rth.

Franz.



More information about the Gcc-patches mailing list