* write.c (is_dnrange): Do not define if md_relax_frag is defined.
authorIan Lance Taylor <ian@airs.com>
Wed, 17 Nov 1993 23:06:12 +0000 (23:06 +0000)
committerIan Lance Taylor <ian@airs.com>
Wed, 17 Nov 1993 23:06:12 +0000 (23:06 +0000)
commita58374d72ad744346e0cd66fcab1faa53e8adda9
treed841b2baa8475ce30427c5e07eb4f121f2da015f
parent46b8119005ca3b3a9346c0be45dcc6f68ce1ce01
* write.c (is_dnrange): Do not define if md_relax_frag is defined.
(relax_segment): If md_relax_frag is defined, use it to handle a
frag of type rs_machine_dependent rather than looking through
md_relax_table.

* write.c (relax_and_size_seg): Don't set SEC_HAS_CONTENTS for a
bss section.  Set SEC_RELOC if there are any relocations, even for
a zero size section.

* write.c (write_relocs): In RELOC_EXPANSION_POSSIBLE case, based
data offset on reloc[0]->address rather than reloc[j]->address, so
that multiple relocs can affect different memory locations.

* write.c (chain_frchains_together, relax_and_size_seg,
adjust_reloc_syms, write_relocs): Make third argument PTR, not
char *, to match definition of bfd_map_over_sections.
gas/write.c