Can't discard .symtab?

Daniel Jacobowitz drow@false.org
Tue Feb 6 20:03:00 GMT 2007


On Tue, Feb 06, 2007 at 07:20:38PM +0000, John Levon wrote:
> .note.GNU-stack was successfully discarded, but I couldn't get rid of
> .symtab or .strtab. Am I missing something obvious here? Similarly I
> can't get ld to output .symtab in a new section e.g.:

They're not loadable.  You can't assign them to a phdr, or discard
them, though you can strip the binary (or ld -s).

-- 
Daniel Jacobowitz
CodeSourcery



More information about the Binutils mailing list