* som.c (som_bfd_derive_misc_symbol_info): Treat undefined code
authorJeff Law <law@redhat.com>
Wed, 7 Sep 1994 05:39:13 +0000 (05:39 +0000)
committerJeff Law <law@redhat.com>
Wed, 7 Sep 1994 05:39:13 +0000 (05:39 +0000)
commit3b50c9009cbe86801134ab9c512f8c8b59c7a1d8
treebd37f1837da85e7af288db8c39694a15f4a884d7
parent82950a806a2bbfb084bbf9ced9572391762e14ca
* som.c (som_bfd_derive_misc_symbol_info): Treat undefined code
symbols and undefined symbols which no type in the same manner
if the associated BFD symbol has BSF_FUNCTION set.  For a defined
symbol which no type, select a SOM type based on the flags of the
section containing the symbol.
(som_slurp_symbol_type): Set BSF_FUNCTION for undefined ST_STUB
or ST_CODE symbols (importing a non-function code symbol is
meaningless in SOM).
(som_set_reloc_info): Don't set "offset" to the section's vma; it
should always start at zero.
bfd/ChangeLog