Painful problems with -fpic implementation on powerpc-sysv

David Edelsohn dje@watson.ibm.com
Wed Aug 26 11:57:00 GMT 1998


>>>>> 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



More information about the Gcc mailing list