diff options
author | Ian Lance Taylor <ian@airs.com> | 1994-08-25 14:46:10 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1994-08-25 14:46:10 +0000 |
commit | 715cde57f8aba52a2f4f32ef6fd7f01eb3411048 (patch) | |
tree | 8b7cd6d6b0d5d6e9c4dac0f695be3a0448f568da /bfd/coffgen.c | |
parent | ebedfc678588fa3b07100a42a0bb091910abfb39 (diff) | |
download | gdb-715cde57f8aba52a2f4f32ef6fd7f01eb3411048.zip gdb-715cde57f8aba52a2f4f32ef6fd7f01eb3411048.tar.gz gdb-715cde57f8aba52a2f4f32ef6fd7f01eb3411048.tar.bz2 |
* 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.
Diffstat (limited to 'bfd/coffgen.c')
-rw-r--r-- | bfd/coffgen.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/bfd/coffgen.c b/bfd/coffgen.c index 386f8dd..1b8a48b 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 |