* emultempl/elf32.em (output_rel_find): Add "isdyn" param. Put
authorAlan Modra <amodra@gmail.com>
Mon, 4 Aug 2003 04:01:39 +0000 (04:01 +0000)
committerAlan Modra <amodra@gmail.com>
Mon, 4 Aug 2003 04:01:39 +0000 (04:01 +0000)
commit2a36a1175e1fec4bd57a97bc5de0bea89b397b10
treefe413493266fd4d5dceb2113f5876d24a6d2e180
parentafaa9ce34d08c6e58d46a3910bbf102796c3e9d8
* emultempl/elf32.em (output_rel_find): Add "isdyn" param.  Put
.rel.dyn before other reloc sections.  Don't stop looking for reloc
sections on finding one that isn't allocated.  Match .rel even when
placing .rela and vice versa, when setting last_rel and
last_rel_alloc for the first time.  If no reloc sections in script,
prefer allocated section over non-alloc.
(gld${EMULATION_NAME}_place_orphan): Handle orphan .rel.dyn.
ld/ChangeLog
ld/emultempl/elf32.em