This is the mail archive of the binutils@sources.redhat.com 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] orphan section creating huge output file


On Mar 17, 2005, Alan Modra <amodra@bigpond.net.au> wrote:

> Alex, you added the zero size check in
> http://sources.redhat.com/ml/binutils/2003-10/msg00184.html, but I don't
> see any testcase or description of exactly why the change was needed.

Uhh...  Sorry about that.  IIRC, I couldn't come up with a small
testcase at that time.  I think the problem was triggered linking the
linux kernel, using memory region definitions that didn't cover all of
the sections specified in the linker scripts.  All the relevant ones
were assigned to specific memory regions, but ones that didn't exist
in the default linker script at the time the memory region assignment
was created, and that were not present in any of the input files, were
flagged with errors.

-- 
Alexandre Oliva             http://www.ic.unicamp.br/~oliva/
Red Hat Compiler Engineer   aoliva@{redhat.com, gcc.gnu.org}
Free Software Evangelist  oliva@{lsd.ic.unicamp.br, gnu.org}


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