aboutsummaryrefslogtreecommitdiff
path: root/ld/emultempl/ppc64elf.em
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2005-03-21 09:39:54 +0000
committerAlan Modra <amodra@gmail.com>2005-03-21 09:39:54 +0000
commitb1ab97771ea3ce4842da7afd06aec65ff3fd0620 (patch)
tree4bc24c7dacd22bf9ceabc4b60cffeb08fe39f5e8 /ld/emultempl/ppc64elf.em
parentbd17c2c398a0ba54189fe84d8a73a3f83310001d (diff)
downloadgdb-b1ab97771ea3ce4842da7afd06aec65ff3fd0620.zip
gdb-b1ab97771ea3ce4842da7afd06aec65ff3fd0620.tar.gz
gdb-b1ab97771ea3ce4842da7afd06aec65ff3fd0620.tar.bz2
ld/
* emultempl/ppc64elf.em (ppc_finish): Rename from gld${EMULATION_NAME}_finish. Call gld${EMULATION_NAME}_finish. (LDEMUL_FINISH): Update. * emultempl/hppaelf.em (hppaelf_finish, LDEMUL_FINISH): Likewise. * emultempl/m68hc1xelf.em (m68hc11elf_finish, LDEMUL_FINISH): Likewise. ld/testsuite/ * ld-powerpc/tlsexe.r: Update. * ld-powerpc/tlsexetoc.r: Update. * ld-powerpc/tlsso.r: Update. * ld-powerpc/tlstocso.r: Update.
Diffstat (limited to 'ld/emultempl/ppc64elf.em')
-rw-r--r--ld/emultempl/ppc64elf.em5
1 files changed, 3 insertions, 2 deletions
diff --git a/ld/emultempl/ppc64elf.em b/ld/emultempl/ppc64elf.em
index f022a18..6b5dca9 100644
--- a/ld/emultempl/ppc64elf.em
+++ b/ld/emultempl/ppc64elf.em
@@ -314,7 +314,7 @@ build_section_lists (lang_statement_union_type *statement)
/* Final emulation specific call. */
static void
-gld${EMULATION_NAME}_finish (void)
+ppc_finish (void)
{
/* e_entry on PowerPC64 points to the function descriptor for
_start. If _start is missing, default to the first function
@@ -389,6 +389,7 @@ gld${EMULATION_NAME}_finish (void)
}
ppc64_elf_restore_symbols (&link_info);
+ gld${EMULATION_NAME}_finish ();
}
@@ -576,6 +577,6 @@ PARSE_AND_LIST_ARGS_CASES='
#
LDEMUL_BEFORE_ALLOCATION=ppc_before_allocation
LDEMUL_AFTER_ALLOCATION=gld${EMULATION_NAME}_after_allocation
-LDEMUL_FINISH=gld${EMULATION_NAME}_finish
+LDEMUL_FINISH=ppc_finish
LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS=ppc_create_output_section_statements
LDEMUL_NEW_VERS_PATTERN=gld${EMULATION_NAME}_new_vers_pattern