* write.c (size_seg): Always clear SEC_RELOC here.
authorAlan Modra <amodra@gmail.com>
Thu, 22 Feb 2007 05:54:51 +0000 (05:54 +0000)
committerAlan Modra <amodra@gmail.com>
Thu, 22 Feb 2007 05:54:51 +0000 (05:54 +0000)
commite5435dec120e543ec82cdbc0178fe4e809e2aed5
tree8e77fa43698ff59304da348428cb9091860271db
parenta0c0ec17df5a5d9f192ebf9987a40c1ecad481b5
* write.c (size_seg): Always clear SEC_RELOC here.
(install_reloc): New function, extracted from..
(write_relocs): ..here.  Combine RELOC_EXPANSION_POSSIBLE code
with !RELOC_EXPANSION_POSSIBLE code.  Don't add fr_offset when
testing frag size.  Set SEC_RELOC here.
gas/ChangeLog
gas/write.c