This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Painful problems with -fpic implementation on powerpc-sysv


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]