This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: 2.10.91: A problem with LINK_ONCE_DISCARD sections on mipsel-linux
- To: Alan Modra <alan at linuxcare dot com dot au>
- Subject: Re: 2.10.91: A problem with LINK_ONCE_DISCARD sections on mipsel-linux
- From: "Maciej W. Rozycki" <macro at ds2 dot pg dot gda dot pl>
- Date: Tue, 3 Oct 2000 12:13:58 +0200 (MET DST)
- cc: binutils at sourceware dot cygnus dot com, Ulf Carlsson <ulfc at engr dot sgi dot com>
- Organization: Technical University of Gdansk
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 +