This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: [RFA:] Trivial test for .gnu.warning.SYMBOL
- From: Eric Botcazou <ebotcazou at libertysurf dot fr>
- To: Hans-Peter Nilsson <hans-peter dot nilsson at axis dot com>
- Cc: binutils at sources dot redhat dot com
- Date: Sun, 13 Feb 2005 11:43:27 +0100
- Subject: Re: [RFA:] Trivial test for .gnu.warning.SYMBOL
- References: <200502061149.j16BnmvE019580@ignucius.se.axis.com>
> --- /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