This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: gc-sections & debug info
On Wed, Aug 27, 2003 at 02:52:26PM -0700, Jafa wrote:
> I have traced it down - we use --gc-sections and the linker is correctly
> removing all the functions that are not referenced, however leaves all the
> debug info for those sections.
You left out a lot of information. What target? What type of debug
info (eg. stabs vs dwarf)? What version of gcc?
--
Alan Modra
IBM OzLabs - Linux Technology Centre