https://sourceware.org/bugzilla/show_bug.cgi?id=33684

--- Comment #21 from H.J. Lu <hjl.tools at gmail dot com> ---
(In reply to Ali Bahrami from comment #20)
> (In reply to H.J. Lu from comment #19)
> > (In reply to Ali Bahrami from comment #18)
> > > But I don't think this should tied to sort sections. The
> > > patch I tested this morning simply preserved them if present,
> > > which does the right thing, while being more generally
> > > correct and future proof. Why not leave the decision about
> > > section symbols to the link-editor?
> > 
> > x86 binutils doesn't generate unused section symbols.  Unless they are
> > used in some way, we won't generate them even if the input has section
> > symbols.
> 
> The section symbols aren't used though, unless taking up
> space, and keeping other symbols from moving around counts
> as a use.
> 
> What do you think about testing the ELF header for ELFOSABI_SOLARIS
> instead?

Under what condition will ELFOSABI_SOLARIS be set?

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Reply via email to