RFC: Remove empty output sections

Alan Modra amodra@bigpond.net.au
Wed Mar 16 02:50:00 GMT 2005


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.

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre



More information about the Binutils mailing list