Painful problems with -fpic implementation on powerpc-sysv
David Edelsohn
dje@watson.ibm.com
Thu Aug 27 12:32:00 GMT 1998
>>>>> 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
More information about the Gcc
mailing list