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

Alan Modra amodra@bigpond.net.au
Wed Apr 5 03:34:00 GMT 2006


On Tue, Apr 04, 2006 at 11:12:08AM +0200, Eric Botcazou wrote:
> 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.

If you want to use addr2line on relocatable object files, I suppose this
is a reasonable idea.

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre



More information about the Binutils mailing list