This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [gold commit] Fix handling of __ehdr_start
- From: Alan Modra <amodra at gmail dot com>
- To: Cary Coutant <ccoutant at google dot com>, Binutils <binutils at sourceware dot org>
- Date: Wed, 28 May 2014 16:56:06 +0930
- Subject: Re: [gold commit] Fix handling of __ehdr_start
- Authentication-results: sourceware.org; auth=none
- References: <20140502233010 dot 1722219406F7 at ccoutant-macbookpro2 dot roam dot corp dot google dot com> <20140520062228 dot GP5162 at bubble dot grove dot modra dot org> <CAHACq4qR+-wg0aNOAcEgiBqb7W4zg+O3-NX3idc+nae86_Eegg at mail dot gmail dot com> <20140528015527 dot GF6679 at bubble dot grove dot modra dot org>
On Wed, May 28, 2014 at 11:25:27AM +0930, Alan Modra wrote:
> On Tue, May 27, 2014 at 11:40:28AM -0700, Cary Coutant wrote:
> > It should show as a weak undef.
>
> Hmm, yes. I'm seeing this instead:
> 52: 0000000000000000 0 NOTYPE LOCAL DEFAULT UND __ehdr_start
>
> > What platform are you testing on?
>
> powerpc64-linux. I'll see if I can track down the problem when I find
> some time.
Also happens on x86_64-linux. I'm surprised you haven't seen it.
__ehdr_start is STV_HIDDEN, Symbol_table::override_with_special makes
it forced_local, thus output from Symbol_table::sized_write_symbol
is STB_LOCAL.
--
Alan Modra
Australia Development Lab, IBM