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

Alan Modra amodra@gmail.com
Wed Mar 30 05:16:00 GMT 2011


On Tue, Mar 29, 2011 at 02:35:02PM -0700, Richard Henderson wrote:
> This adjusts the two relevant test cases for 64-bit targets.
> Which... probably causes just as many problems for some 32-bit
> targets.

No probably about it. :)

> So.  What's the best way forward here?

> --- ld/testsuite/ld-gc/start.s	8 Jan 2010 01:43:23 -0000	1.1
> +++ ld/testsuite/ld-gc/start.s	29 Mar 2011 21:20:00 -0000
> @@ -1,6 +1,6 @@
>  .globl _start
>  _start:
> -	.long __start__foo
> +	.quad	__start__foo

.dc.a here maybe, and leave the compress test as notarget for alpha.
If you really want a compress test, put a modified version in
testsuite/ld-alpha/.

-- 
Alan Modra
Australia Development Lab, IBM



More information about the Binutils mailing list