On Thu, Oct 21, 2010 at 08:17:51PM +0200, Gunther Nikl wrote:
> Michael Meissner wrote:
> > Note, the 64-bit ABI requires that r2 have the current function's GOT in it
> > when the function is called, while the 32-bit ABI uses r2 as a small data
> > pointer (and possibly r13 as a second small data pointer).
> 
> If the 32-bit ABI is the SYSV-ABI, then you got the register usage
> wrong. r13 is the small data pointer with -msdata=sysv and r2 is a
> second small data pointer when using -msdata=eabi.
> 
> Joakim, did you try using -msdata=sysv together with "-G 64000"?

Yes, I think I mentally swapped the registers.  Sorry.

-- 
Michael Meissner, IBM
5 Technology Place Drive, M/S 2757, Westford, MA 01886-3141, USA
meiss...@linux.vnet.ibm.com

Reply via email to