2.10.91: A problem with LINK_ONCE_DISCARD sections on mipsel-linux

Alan Modra alan@linuxcare.com.au
Mon Oct 2 18:25:00 GMT 2000


On Mon, 2 Oct 2000, Maciej W. Rozycki 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.

-- 
Linuxcare.  Support for the Revolution.



More information about the Binutils mailing list