This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: [PATCH] -fpic problems on PPC, a different approach


On Wed, Jun 09, 1999 at 10:46:49PM +0200, Franz Sirl wrote:
> 	* rs6000.md (movsi_got_internal_mem): Delete.
> 	* rs6000.h (CONDITIONAL_REGISTER_USAGE): Mark PIC_OFFSET_TABLE_REGNUM.
> 	(GOT_TOC_REGNUM): Delete.
> 	(PIC_OFFSET_TABLE_REGNUM): Define.
> 	(FINALIZE_PIC): make a comment of it
> 	* rs6000.c (rs6000_got_register): New code for fixed pic register.
> 	(rs6000_replace_regno): Delete.
> 	(rs6000_finalize_pic): Likewise.
> 	(output_prolog): Handle PIC_OFFSET_TABLE_REGNUM

Applied to both branches.  Thanks for your patience on this.
Hopefully for 3.0 we can at minimum streamline -fPIC, and 
play register allocation games with pic_offset_table_rtx.


r~


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]