aboutsummaryrefslogtreecommitdiff
path: root/ld/emultempl/vanilla.em
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2005-07-15 12:19:15 +0000
committerAlan Modra <amodra@gmail.com>2005-07-15 12:19:15 +0000
commit5e797c2c670d8fe04e417043214c0a1843a18aa3 (patch)
tree638e9ebc78a027a4c7001263978ba0d339ddbd3b /ld/emultempl/vanilla.em
parenteaae8ded6211112d8b3f31b095433d660bcc5e59 (diff)
downloadgdb-5e797c2c670d8fe04e417043214c0a1843a18aa3.zip
gdb-5e797c2c670d8fe04e417043214c0a1843a18aa3.tar.gz
gdb-5e797c2c670d8fe04e417043214c0a1843a18aa3.tar.bz2
* ldemul.c (ldemul_do_assignments): New function.
(do_assignments_default): New function. * ldemul.h (ldemul_do_assignments): Declare. (do_assignments_default): Declare. (struct ld_emulation_xfer_struct): Add do_assignments. * ldlang.c (lang_do_assignments) Call ldemul_do_assignments. * emultempl/aix.em (ld_*_emulation): Init do_assignments field. * emultempl/armcoff.em: Likewise. * emultempl/beos.em: Likewise. * emultempl/generic.em: Likewise. * emultempl/gld960.em: Likewise. * emultempl/gld960c.em: Likewise. * emultempl/linux.em: Likewise. * emultempl/lnk960.em: Likewise. * emultempl/m68kcoff.em: Likewise. * emultempl/pe.em: Likewise. * emultempl/sunos.em: Likewise. * emultempl/ticoff.em: Likewise. * emultempl/vanilla.em: Likewise. * emultempl/elf32.em: Likewise, to call gld*_provide_init_fini_syms. (gld*_find_exp_assignment): Adjust bfd_elf_record_link_assignment call.
Diffstat (limited to 'ld/emultempl/vanilla.em')
-rw-r--r--ld/emultempl/vanilla.em1
1 files changed, 1 insertions, 0 deletions
diff --git a/ld/emultempl/vanilla.em b/ld/emultempl/vanilla.em
index e2f0989..769fb30 100644
--- a/ld/emultempl/vanilla.em
+++ b/ld/emultempl/vanilla.em
@@ -65,6 +65,7 @@ struct ld_emulation_xfer_struct ld_vanilla_emulation =
vanilla_set_output_arch,
ldemul_default_target,
before_allocation_default,
+ do_assignments_default,
vanilla_get_script,
"vanilla",
"a.out-sunos-big",