This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: pr11135: make PIC register a pseudo
- From: Ian Lance Taylor <ian at airs dot com>
- To: Stuart Hastings <stuart at apple dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: 05 Jan 2006 13:40:05 -0800
- Subject: Re: pr11135: make PIC register a pseudo
- References: <4061F155-7B01-47B4-B4C5-56A82C2E9824@apple.com>
Stuart Hastings <stuart@apple.com> writes:
> Regarding
>
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11135
>
> How much effort would it take to fix this, at least for x86 (32-bit)?
Not hard. See the MIPS backend, for example. Look at how it defines
PIC_OFFSET_TABLE_REGNUM and how it handles pic_offset_table_rtx.
Ian