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: [RFA:] Trivial test for .gnu.warning.SYMBOL


> --- /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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]