* emultempl/elf32.em (gld${EMULATION_NAME}_layout_sections_again):
commit5ff64ae6b45a9a4424e651636d9966325cfcd274
authorAlan Modra <amodra@bigpond.net.au>
Tue, 29 Mar 2005 11:07:38 +0000 (29 11:07 +0000)
committerAlan Modra <amodra@bigpond.net.au>
Tue, 29 Mar 2005 11:07:38 +0000 (29 11:07 +0000)
tree4bf1cd48a52d80f65310f2282fe65626da7386cf
parentd3f35551a626299457dcc6f1a2767e7605ddca80
* emultempl/elf32.em (gld${EMULATION_NAME}_layout_sections_again):
New function, extracted from static void gld${EMULATION_NAME}_finish.
(gld${EMULATION_NAME}_strip_empty_sections): Likewise.
(gld${EMULATION_NAME}_provide_init_fini_syms): Likewise.
* emultempl/ppc64elf.em: Revert last change.
(ppc_layout_sections_again): Use
gld${EMULATION_NAME}_layout_sections_again.
(ppc_finish): Don't call gld${EMULATION_NAME}_finish.  Instead call
gld${EMULATION_NAME}_strip_empty_sections and
gld${EMULATION_NAME}_provide_init_fini_syms.
* emultempl/hppaelf.em: Similarly.
ld/ChangeLog
ld/emultempl/elf32.em
ld/emultempl/hppaelf.em
ld/emultempl/ppc64elf.em