* emultempl/elf32.em (gld${EMULATION_NAME}_finish): Only emit this
authorAlan Modra <amodra@gmail.com>
Thu, 15 Nov 2001 12:44:03 +0000 (12:44 +0000)
committerAlan Modra <amodra@gmail.com>
Thu, 15 Nov 2001 12:44:03 +0000 (12:44 +0000)
commitc56feb2b8c5a2d4a3dc92317d7f547e2c89feb8a
tree8e431d3328f359303ec6a86c820b3f4274742e0a
parentc86380b5864fac8325a2b3abbc684df5d42696ca
* emultempl/elf32.em (gld${EMULATION_NAME}_finish): Only emit this
function when LDEMUL_FINISH isn't set to the same name.  Don't
call ${LDEMUL_FINISH}.
(ld_${EMULATION_NAME}_emulation): Call $LDEMUL_FINISH if defined.
* emultempl/armelf.em (arm_elf_finish): Call
gld${EMULATION_NAME}_finish.
* emultempl/hppaelf.em (hppaelf_finish): Rename to
gld${EMULATION_NAME}_finish.  Call bfd_elf32_discard_info and
hppaelf_layout_sections_again if necessary.
(need_laying_out): New var.
(hppaelf_layaout_sections_again): Rename to
hppaelf_layout_sections_again.  Clear need_laying_out.
(PARSE_AND_LIST_OPTIONS): Format text.
ld/ChangeLog
ld/emultempl/armelf.em
ld/emultempl/elf32.em
ld/emultempl/hppaelf.em