aboutsummaryrefslogtreecommitdiff
path: root/ld/emultempl/m68hc1xelf.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/m68hc1xelf.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/m68hc1xelf.em')
-rw-r--r--ld/emultempl/m68hc1xelf.em6
1 files changed, 4 insertions, 2 deletions
diff --git a/ld/emultempl/m68hc1xelf.em b/ld/emultempl/m68hc1xelf.em
index ecae4c0..890c120 100644
--- a/ld/emultempl/m68hc1xelf.em
+++ b/ld/emultempl/m68hc1xelf.em
@@ -289,7 +289,7 @@ m68hc11elf_add_stub_section (const char *stub_sec_name,
to build linker stubs. */
static void
-gld${EMULATION_NAME}_finish (void)
+m68hc11elf_finish (void)
{
/* Now build the linker stubs. */
if (stub_file->the_bfd->sections != NULL)
@@ -308,6 +308,8 @@ gld${EMULATION_NAME}_finish (void)
if (!elf32_m68hc11_build_stubs (output_bfd, &link_info))
einfo ("%X%P: can not build stubs: %E\n");
}
+
+ gld${EMULATION_NAME}_finish ();
}
@@ -369,5 +371,5 @@ PARSE_AND_LIST_ARGS_CASES='
# Put these extra m68hc11elf routines in ld_${EMULATION_NAME}_emulation
#
LDEMUL_BEFORE_ALLOCATION=m68hc11_elf_${EMULATION_NAME}_before_allocation
-LDEMUL_FINISH=gld${EMULATION_NAME}_finish
+LDEMUL_FINISH=m68hc11elf_finish
LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS=m68hc11elf_create_output_section_statements