* som.c (compare_subspaces): New function to sort subspaces by
authorJeff Law <law@redhat.com>
Sun, 29 Jan 1995 06:37:35 +0000 (06:37 +0000)
committerJeff Law <law@redhat.com>
Sun, 29 Jan 1995 06:37:35 +0000 (06:37 +0000)
commit8bc3e02c9d35ee75abd701ffe5b16a45e283d44c
tree2d2134db7d3bf3e5193ff68ec615ad420afe044e
parentde537409fc6a18cb370633c446831a0cf4d83ae7
* som.c (compare_subspaces): New function to sort subspaces by
their location in the object file.
(setup_sections): When computing the index for each subspace,
handle case where setup_sections reads the subspaces in a
different order that they appear in the object file.
(som_is_space): Also examine the output section for the containing
section.
(som_is_subspace, som_is_container): Likewise.
(som_begin_writing): Don't prepare or write fixups here.  When
writing the symbol strings, use the unsorted symbol table.
(som_write_object_contents): Don't write the symbol table here.
(som_finish_writing): Prepare and write the fixups here.  Likewise
for the symbol table.
(som_bfd_derive_misc_symbol_info): Undefined symbols always have
type SS_UNSAT regardless of BSF_EXPORT.
(som_set_reloc_info): Unpack and attach argument location
information for R_PCREL_CALL and R_ABS_CALL relocations.
bfd/ChangeLog