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.


I tried that, and it worked!  But, now that you mention 64-bit, since my
target is a 32-bit machine, I should probably be configuring with a
different set of options, but I can't seem to figure out the target for 32
bit powerpc xcoff (I didn't realize it was building 64-bit style, since I
hadn't enabled it).  I tried...

./configure --target=powerpc-xcoff --disable-64-bit-bfd

...which configure didn't recognize, and now I'm trying...

./configure --target=powerpc-coff --disable-64-bit-bfd

And suggestions?

Thanks!

--
Jason M. Sullivan
PowerPC Embbedded Processor Solutions
IBM Microelectronics
jasonsul@us.ibm.com (919.543.5650)


                                                                                                                                       
                      Alan Modra                                                                                                       
                      <amodra@bigpond.         To:      Jason Sullivan/Raleigh/IBM@IBMUS                                               
                      net.au>                  cc:      binutils@sources.redhat.com                                                    
                                               Subject: Re: More Xcoff coughing, this time with ld.                                    
                      05/30/02 09:41                                                                                                   
                      AM                                                                                                               
                                                                                                                                       
                                                                                                                                       




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]