2.10.91: A problem with LINK_ONCE_DISCARD sections on mipsel-linux

Maciej W. Rozycki macro@ds2.pg.gda.pl
Tue Oct 3 04:59:00 GMT 2000


On Tue, 3 Oct 2000, Alan Modra wrote:

> > 	.section .gnu.linkonce.d.dummy,"aw"
> > 	.int	0x76543210
> > 
> > 	.data
> > 	.int	.gnu.linkonce.d.dummy
> 
> FWIW, x86 doesn't bomb, but produces incorrect output.
> 
> Contents of section .data:
>  8049074 7c900408 00000000 10325476
> 
> The zeros correspond to the section symbol being referenced by the second
> copy.

 Hmm, maybe we could mark such symbols global?...

-- 
+  Maciej W. Rozycki, Technical University of Gdansk, Poland   +
+--------------------------------------------------------------+
+        e-mail: macro@ds2.pg.gda.pl, PGP key available        +



More information about the Binutils mailing list