* write.c (size_seg): Always clear SEC_RELOC here.
commit4649129288fc6fdfb73b07cd2f7a2aa9a3d057e4
authorAlan Modra <amodra@bigpond.net.au>
Thu, 22 Feb 2007 05:54:51 +0000 (22 05:54 +0000)
committerAlan Modra <amodra@bigpond.net.au>
Thu, 22 Feb 2007 05:54:51 +0000 (22 05:54 +0000)
tree556d34798204b214d913a6f5f2eb1b2901dad3f7
parent2a5dfe14aed3da229d475402b28c48f0cea14863
* 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