This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Painful problems with -fpic implementation on powerpc-sysv
- To: law at cygnus dot com
- Subject: Re: Painful problems with -fpic implementation on powerpc-sysv
- From: David Edelsohn <dje at watson dot ibm dot com>
- Date: Wed, 26 Aug 1998 12:14:14 -0400
- Cc: Geoff Keating <geoffk at ozemail dot com dot au>, egcs at cygnus dot com, Franz Sirl <Franz dot Sirl-kernel at lauterbach dot com>, Michael Meissner <meissner at cygnus dot com>
>>>>> Jeffrey A Law writes:
Jeff> We should select a callee saved register and reserve it for PIC.
What does the SVR4 PPC ABI say about r2 which AIX uses for its
addressibility TOC register? I thought that it was "reserved" or
something. It's fixed throughout the PowerPC port -- both AIX and
SVR4/eABI. IF not that one then you run into conflicts with argument
registers or saved registers.
David