diff options
author | Alan Modra <amodra@gmail.com> | 2001-11-15 12:44:03 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2001-11-15 12:44:03 +0000 |
commit | c56feb2b8c5a2d4a3dc92317d7f547e2c89feb8a (patch) | |
tree | 8e431d3328f359303ec6a86c820b3f4274742e0a /ld/emultempl/armelf.em | |
parent | c86380b5864fac8325a2b3abbc684df5d42696ca (diff) | |
download | gdb-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.em | 3 |
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; |