This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] retain file symbols in object files even with --strip-local-absolute


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.




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]