From: Ian Lance Taylor Date: Thu, 25 Aug 1994 14:46:10 +0000 (+0000) Subject: * coffgen.c (coff_write_alien_symbol): If we are not using the X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=715cde57f8aba52a2f4f32ef6fd7f01eb3411048;p=binutils-gdb.git * coffgen.c (coff_write_alien_symbol): If we are not using the symbol, clear the name so that it is not put in the string table. From Antti.Miettinen@ntc.nokia.com. --- diff --git a/bfd/ChangeLog b/bfd/ChangeLog index fea7f4d96d0..df2709686bd 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,9 @@ +Thu Aug 25 10:44:53 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) + + * coffgen.c (coff_write_alien_symbol): If we are not using the + symbol, clear the name so that it is not put in the string table. + From Antti.Miettinen@ntc.nokia.com. + Wed Aug 24 11:49:19 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) * coffgen.c (coff_print_symbol): Cast pointer different to long diff --git a/bfd/coffgen.c b/bfd/coffgen.c index 386f8dd112b..1b8a48b5896 100644 --- a/bfd/coffgen.c +++ b/bfd/coffgen.c @@ -783,7 +783,9 @@ coff_write_alien_symbol (abfd, symbol, written) { /* There isn't much point to writing out a debugging symbol unless we are prepared to convert it into COFF debugging - format. So, we just ignore them. */ + format. So, we just ignore them. We must clobber the symbol + name to keep it from being put in the string table. */ + symbol->name = ""; return true; } else