[PATCH] retain file symbols in object files even with --strip-local-absolute
Nick Clifton
nickc@redhat.com
Mon Jun 21 11:01:00 GMT 2004
Hi Jan,
> I order to permit a debugger to still correctly qualify the local symbol
> names with the source file they originate from. I consider this rather
> useful when you have to debug e.g. production modules for which you
> generally don't have debug information (I don't think gdb can currently
> take advantage of it, but we have a debugger that can). After all, the
> source file names in the ELF symbol table (supposed to be) are entirely
> independent of the debug information (other than in, say, COFF). Jan
Hmm, OK. I which case I have applied your patch, together with a
comment explaining why the BSF_FILE symbols are retained.
Cheers
Nick
gas/ChangeLog
2004-06-21 Jan Beulich <jbeulich@novell.com>
* gas/symbols.c: While discarding ordinary local absolute symbols
when --strip-local-absolute is in effect, retain file symbols.
More information about the Binutils
mailing list