* som.h (struct somdata): New field sorted_syms.
authorJeff Law <law@redhat.com>
Wed, 14 Sep 1994 22:24:56 +0000 (22:24 +0000)
committerJeff Law <law@redhat.com>
Wed, 14 Sep 1994 22:24:56 +0000 (22:24 +0000)
commita8d0866480cdc01f1695e8e653c625326e8d2e20
tree2a23df71a00cf7ba7d8c4de47e6cf1637ccd3571
parent849090730789fd5bb1c923ed51d6e5f5c3afcafc
* som.h (struct somdata): New field sorted_syms.
(obj_som_sorted_syms): Accessor macro.
* som.c (som_object_setup): Initialize sorted_syms to NULL.
(som_prep_for_fixups): Sort a copy of the BFD's symbol table;
store the sorted symbol table in sorted_syms.
(som_write_fixups): Initalize tmp_reloc to NULL to make GCC happy.
(som_begin_writing): Similarly for exec_header.  Pass the sorted
symbol table to som_write_symbol_strings.
(som_build_and_write_symbol_table): Use the sorted symbols rather
than the canonical symbol table.
bfd/ChangeLog