aboutsummaryrefslogtreecommitdiff
path: root/ld/emultempl/m68hc1xelf.em
diff options
context:
space:
mode:
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