[rfc] fixup ld testsuite for alpha enable --gc-sections

Richard Henderson rth@redhat.com
Tue Mar 29 21:35:00 GMT 2011
On 03/29/2011 02:19 PM, Richard Henderson wrote:
> Only about a decade late, I'd gotten tired of seeing these
> failures when testing alpha.
> 
> There are a number of testsuite changes required here, some of
> which affect generic tests.  I'll send a separate message and
> rfa for those.

And here's that.

The Problem is that two "generic" tests are written expecting
32-bit absolute addresses are ok, even for 64-bit targets.  For
a fair number of targets this is even true.

But alpha by default places the image base at 0x1_2000_0000,
which results in all sorts of relocation truncated errors.

This adjusts the two relevant test cases for 64-bit targets.
Which... probably causes just as many problems for some 32-bit
targets.

So.  What's the best way forward here?


r~
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: z
URL: <https://sourceware.org/pipermail/binutils/attachments/20110329/ff7a79c1/attachment.ksh>


More information about the Binutils mailing list