[RFA:] Trivial test for .gnu.warning.SYMBOL

Eric Botcazou ebotcazou@libertysurf.fr
Sun Feb 13 17:18:00 GMT 2005


> --- /dev/null	Tue Oct 29 15:57:07 2002
> +++ symbol1ref.s	Sat Feb  5 03:12:49 2005
> @@ -0,0 +1,3 @@
> +	.text
> +	.long symbol1
> +

That doesn't work on SPARC 64-bit, the relocation is truncated because 'long' 
is 4-byte wide.  The correct opcode would be '.xword' here.

I'm not really familiar with the testsuite harness: how can the problem be 
(elegantly) solved?

Thanks in advance.

-- 
Eric Botcazou



More information about the Binutils mailing list