This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: RFC: Remove empty output sections
On Wed, Mar 16, 2005 at 01:20:12PM +1030, Alan Modra wrote:
> On Tue, Mar 15, 2005 at 06:32:46PM -0800, H. J. Lu wrote:
> > One benefit of removing empty sections late is there will be no
> > layout changes.
>
> That's true.
>
> > The only changes are
> > 1. No empty sections in section table.
> > 2. Some undefine section symbols in .dynsym.
> > 3. No empty segment.
>
> Well, that's good. I was worried that something might go wrong with
> dynamic section symbols, but it seems that you are OK there.
> Patch is OK for mainline.
I checked it. There were failures:
./build-ppc-linux/ld/ld.log:FAIL: TLS32 shared
./build-ppc64-linux/ld/ld.log:FAIL: TLS32 shared
without my patch. I didn't update them. Also MIPS needs
http://sourceware.org/ml/binutils/2005-03/msg00459.html
H.J.