This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH] New option --print-gc-sections
> 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