This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: More Xcoff coughing, this time with ld.
- From: Alan Modra <amodra at bigpond dot net dot au>
- To: Jason Sullivan <jasonsul at us dot ibm dot com>
- Cc: binutils at sources dot redhat dot com
- Date: Thu, 30 May 2002 23:11:05 +0930
- Subject: Re: More Xcoff coughing, this time with ld.
- References: <OFB887F2E4.C42F4B4F-ON85256BC9.00487E97@raleigh.ibm.com>
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