More Xcoff coughing, this time with ld.

Alan Modra amodra@bigpond.net.au
Thu May 30 06:41:00 GMT 2002


On Thu, May 30, 2002 at 09:17:24AM -0400, Jason Sullivan wrote:
> This is the ld command I'm using...
> 
> /l/codeprojects/binutils-020528/ld/ld vp_branchafvt.o -Ttext=0xFFFF8000
> -evp_branchafvt -ovp_branchafvt.lo
> 
> Shouldn't I be able to relocate to anywhere in the address space, and have
> the absolute branches recalculated accordingly?

Yes, this should work for you because the legal address range for bcla
is 0xffff8000 to 0x00007ffc, and the bla range is 0xfe000000 to
0x01fffffc (if I have my calculations correct).

However, you probably have binutils compiled with 64 bit support.

Try -Ttext=0xffffffffffff8000

I suppose you could call this a ld bug.  I'll see about fixing it in
the morning.

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre



More information about the Binutils mailing list