[PATCH] New option --print-gc-sections

Eric Botcazou ebotcazou@adacore.com
Tue Apr 4 09:08:00 GMT 2006


> I think it would be better to only print the header when you actually
> have some discarded sections, ie. print header on finding first
> discarded section.  Otherwise you ought to print "None" or somesuch.
> OK with that change.

Thanks, installed with the first suggested change.

Would you agree on enhancing addr2line so that it can return the correct 
answer for object files compiled with -ffunction-sections, now that the 
DWARF-2 back-end can deal with them?  That would probably mean having it 
accept an optional section name.

-- 
Eric Botcazou



More information about the Binutils mailing list