aboutsummaryrefslogtreecommitdiff
path: root/ld/emultempl/armelf.em
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2001-11-15 12:44:03 +0000
committerAlan Modra <amodra@gmail.com>2001-11-15 12:44:03 +0000
commitc56feb2b8c5a2d4a3dc92317d7f547e2c89feb8a (patch)
tree8e431d3328f359303ec6a86c820b3f4274742e0a /ld/emultempl/armelf.em
parentc86380b5864fac8325a2b3abbc684df5d42696ca (diff)
downloadgdb-c56feb2b8c5a2d4a3dc92317d7f547e2c89feb8a.zip
gdb-c56feb2b8c5a2d4a3dc92317d7f547e2c89feb8a.tar.gz
gdb-c56feb2b8c5a2d4a3dc92317d7f547e2c89feb8a.tar.bz2
* emultempl/elf32.em (gld${EMULATION_NAME}_finish): Only emit this
function when LDEMUL_FINISH isn't set to the same name. Don't call ${LDEMUL_FINISH}. (ld_${EMULATION_NAME}_emulation): Call $LDEMUL_FINISH if defined. * emultempl/armelf.em (arm_elf_finish): Call gld${EMULATION_NAME}_finish. * emultempl/hppaelf.em (hppaelf_finish): Rename to gld${EMULATION_NAME}_finish. Call bfd_elf32_discard_info and hppaelf_layout_sections_again if necessary. (need_laying_out): New var. (hppaelf_layaout_sections_again): Rename to hppaelf_layout_sections_again. Clear need_laying_out. (PARSE_AND_LIST_OPTIONS): Format text.
Diffstat (limited to 'ld/emultempl/armelf.em')
-rw-r--r--ld/emultempl/armelf.em3
1 files changed, 3 insertions, 0 deletions
diff --git a/ld/emultempl/armelf.em b/ld/emultempl/armelf.em
index fd27bce..c570486 100644
--- a/ld/emultempl/armelf.em
+++ b/ld/emultempl/armelf.em
@@ -104,6 +104,9 @@ arm_elf_finish ()
{
struct bfd_link_hash_entry * h;
+ /* Call the elf32.em routine. */
+ gld${EMULATION_NAME}_finish ();
+
if (thumb_entry_symbol == NULL)
return;