diff options
Diffstat (limited to 'ld/emultempl/sh64elf.em')
-rw-r--r-- | ld/emultempl/sh64elf.em | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ld/emultempl/sh64elf.em b/ld/emultempl/sh64elf.em index 3c82164..c49fbe8 100644 --- a/ld/emultempl/sh64elf.em +++ b/ld/emultempl/sh64elf.em @@ -248,6 +248,9 @@ sh64_elf_${EMULATION_NAME}_after_allocation (void) gld${EMULATION_NAME}_after_allocation (); + /* Needed, since we create link_orders here. */ + lang_clear_os_map (); + cranges = bfd_get_section_by_name (link_info.output_bfd, SH64_CRANGES_SECTION_NAME); |