]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - ld/emultempl/elf.em
* emultempl/elf32.em (gld${EMULATION_NAME}_layout_sections_again):
authorAlan Modra <amodra@gmail.com>
Tue, 29 Mar 2005 11:07:38 +0000 (11:07 +0000)
committerAlan Modra <amodra@gmail.com>
Tue, 29 Mar 2005 11:07:38 +0000 (11:07 +0000)
commitdeb04cdb5ef9b4efa0e57b0e9d02c7800f2ee29a
treec0b3613b34aed916e0df25dd90dfe428cf369116
parent7e7353ed547e66c371ac3ea4bc2570707f3dbae1
* 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