This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: Can't discard .symtab?
- From: Daniel Jacobowitz <drow at false dot org>
- To: John Levon <levon at movementarian dot org>
- Cc: binutils at sourceware dot org
- Date: Tue, 6 Feb 2007 15:00:07 -0500
- Subject: Re: Can't discard .symtab?
- References: <20070206192038.GA32555@totally.trollied.org.uk>
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