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: Richard Henderson <rth 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: Thu, 27 Aug 1998 13:28:28 -0400
- Cc: law at cygnus dot com, 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>
>>>>> Richard Henderson writes:
Richard> On Wed, Aug 26, 1998 at 08:01:03PM -0600, Jeffrey A Law wrote:
>> Register r2 is reserved for system use and should not be changed by
>> application code.
>>
>> I don't know if that gives us the leeway we need to claim it.
Richard> I doubt it. The Sparc ABI uses the same language for a register
Richard> Solaris uses for the thread context pointer.
Richard> Interesting to know, though. Geoff, thought about using this in
Richard> glibc for THREAD_SELF?
AIX 64-bit ABI has allocated GPR13 for thread-self. AIX original
32-bit ABI works around not having thread-local data pointer.
David