This is the mail archive of the binutils@sourceware.org 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: [gold commit] Fix handling of __ehdr_start


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


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