Linker part of PR16563 fix
authorAlan Modra <amodra@gmail.com>
Thu, 14 Aug 2014 04:19:31 +0000 (13:49 +0930)
committerAlan Modra <amodra@gmail.com>
Thu, 14 Aug 2014 04:19:31 +0000 (13:49 +0930)
commit18cd5bce47dc4a33dd1d8e3036b99d2fa7e3234f
treea45e5b4efa46052d1f8bf538e0695e2b264795a5
parentb879806f2fdd2eca7092d7b854d6cbbbbbd0493b
Linker part of PR16563 fix

Presents .eh_frame input sections to the optimisation machinery in
elf-eh-frame.c in the order they are given by the linker script.

PR 16563
bfd/
* elflink.c (bfd_elf_discard_info): Process .eh_frame and .stab
in the order they are mapped to output sections.
ld/
* ldlang.c (map_head_is_link_order): Rename from
stripped_excluded_sections.
(lang_clear_os_map): New function, extracted from..
(strip_excluded_output_sections): ..here.
* ldlang.h (lang_clear_os_map): Declare.
* ldwrite.c (ldwrite): Call lang_clear_os_map.
* emultempl/sh64elf.em (sh64_elf_${EMULATION_NAME}_after_allocation):
Likewise.
bfd/ChangeLog
bfd/elflink.c
ld/ChangeLog
ld/emultempl/sh64elf.em
ld/ldlang.c
ld/ldlang.h
ld/ldwrite.c
This page took 0.025874 seconds and 4 git commands to generate.