* emultempl/elf32.em (gld${EMULATION_NAME}_finish): Only emit this
commitdc3cdb21bf61b2cb2839f59d7d441f8f48ed94e3
authorAlan Modra <amodra@bigpond.net.au>
Thu, 15 Nov 2001 12:44:03 +0000 (15 12:44 +0000)
committerAlan Modra <amodra@bigpond.net.au>
Thu, 15 Nov 2001 12:44:03 +0000 (15 12:44 +0000)
tree55ec827bbef2196ce5f7d00e916aa8273aad08af
parent9d97f2cdc5aa646d3dae557d0e7a4302d1c1f1cf
* 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