This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: More Xcoff coughing, this time with ld.


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


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