This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] -fpic problems on PPC, a different approach
- To: Franz Sirl <Franz dot Sirl-kernel at lauterbach dot com>
- Subject: Re: [PATCH] -fpic problems on PPC, a different approach
- From: Richard Henderson <rth at cygnus dot com>
- Date: Wed, 9 Jun 1999 16:03:04 -0700
- Cc: law at cygnus dot com, Geoff Keating <geoffk at ozemail dot com dot au>, egcs-patches at egcs dot cygnus dot com
- References: <19990609121531.C8199@cygnus.com> <99060923135400.00972@ns1102.munich.netsurf.de>
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~