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: PATCH: PR ld/17842: [ARM] Gap between sections and section headers when ld -s is used when ld -s is used


On Thu, Jan 15, 2015 at 12:28:39PM +1030, Alan Modra wrote:
> On Wed, Jan 14, 2015 at 05:41:26PM -0800, H.J. Lu wrote:
> > On Wed, Jan 14, 2015 at 5:04 PM, Alan Modra <amodra@gmail.com> wrote:
> > > On Wed, Jan 14, 2015 at 10:07:39AM -0800, H.J. Lu wrote:
> > >>       * elflink.c (bfd_elf_final_link): Assign the file position for
> > >>       the symbol table only there are symbols to be emitted.
> > >
> > > Not OK.  Search for places where elf_link_output_sym is called.
> > >
> > 
> > For info->strip == strip_all, can backend still output local symbols?
> 
> Yes, and when emit_relocs too.  I'm testing the following.

Which fails.  Hmm, the real problem is that the arm backend is
emitting a symbol without the first all-zero symbol being present..

-- 
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]