aboutsummaryrefslogtreecommitdiff
path: root/bfd/som.h
diff options
context:
space:
mode:
authorJeff Law <law@redhat.com>1994-09-14 21:44:35 +0000
committerJeff Law <law@redhat.com>1994-09-14 21:44:35 +0000
commit8a2cdc6278bd8478f2cfac2d90683dbda1789898 (patch)
tree443bc4fb5bf46fd7e15ce9786a622176f8fc7cf2 /bfd/som.h
parent467a038026851fffa1f554f09ae1a634d393f788 (diff)
downloadgdb-8a2cdc6278bd8478f2cfac2d90683dbda1789898.zip
gdb-8a2cdc6278bd8478f2cfac2d90683dbda1789898.tar.gz
gdb-8a2cdc6278bd8478f2cfac2d90683dbda1789898.tar.bz2
* som.h (som_symbol_type): Add "stringtab_offset" field.
* som.c (som_write_symbol_strings): Use "stringtab_offset" rather than destroying the "name" field in the BFD symbol. (som_build_and_write_symbol_table): Likewise.
Diffstat (limited to 'bfd/som.h')
-rw-r--r--bfd/som.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/bfd/som.h b/bfd/som.h
index 196cb9c..99b777d 100644
--- a/bfd/som.h
+++ b/bfd/som.h
@@ -64,6 +64,10 @@ typedef struct som_symbol
the symbols from most used to least used we can significantly
reduce the size of the relocation stream for incomplete objects. */
int reloc_count;
+
+ /* During object file writing, the offset of the name of this symbol
+ in the SOM string table. */
+ int stringtab_offset;
}
som_symbol_type;