mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-19 17:18:24 +08:00
Revert the change for PR ld/r13909
bfd/ PR ld/13909 * elf32-i386.c (elf_i386_create_dynamic_sections): Revert the last change. * elf64-x86-64.c (elf_x86_64_create_dynamic_sections): Likewise. ld/testsuite/ 2012-05-22 H.J. Lu <hongjiu.lu@intel.com> PR ld/13909 * ld-i386/i386.exp: Revert the last change. * ld-x86-64/x86-64.exp: Likewise. * ld-i386/dummy.s: Removed. * ld-i386/pr13909.d: Likewise. * ld-x86-64/pr13909.d: Likewise.
This commit is contained in:
@ -1,3 +1,10 @@
|
|||||||
|
2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
|
||||||
|
|
||||||
|
PR ld/13909
|
||||||
|
* elf32-i386.c (elf_i386_create_dynamic_sections): Revert the
|
||||||
|
last change.
|
||||||
|
* elf64-x86-64.c (elf_x86_64_create_dynamic_sections): Likewise.
|
||||||
|
|
||||||
2012-05-22 Alan Modra <amodra@gmail.com>
|
2012-05-22 Alan Modra <amodra@gmail.com>
|
||||||
|
|
||||||
* elflink.c (bfd_elf_discard_info): Look for next .eh_frame if
|
* elflink.c (bfd_elf_discard_info): Look for next .eh_frame if
|
||||||
|
@ -1016,8 +1016,7 @@ elf_i386_create_dynamic_sections (bfd *dynobj, struct bfd_link_info *info)
|
|||||||
|
|
||||||
if (!info->no_ld_generated_unwind_info
|
if (!info->no_ld_generated_unwind_info
|
||||||
&& htab->plt_eh_frame == NULL
|
&& htab->plt_eh_frame == NULL
|
||||||
&& htab->elf.splt != NULL
|
&& htab->elf.splt != NULL)
|
||||||
&& bfd_get_section_by_name (dynobj, ".eh_frame") != NULL)
|
|
||||||
{
|
{
|
||||||
flagword flags = get_elf_backend_data (dynobj)->dynamic_sec_flags;
|
flagword flags = get_elf_backend_data (dynobj)->dynamic_sec_flags;
|
||||||
htab->plt_eh_frame
|
htab->plt_eh_frame
|
||||||
|
@ -980,8 +980,7 @@ elf_x86_64_create_dynamic_sections (bfd *dynobj,
|
|||||||
|
|
||||||
if (!info->no_ld_generated_unwind_info
|
if (!info->no_ld_generated_unwind_info
|
||||||
&& htab->plt_eh_frame == NULL
|
&& htab->plt_eh_frame == NULL
|
||||||
&& htab->elf.splt != NULL
|
&& htab->elf.splt != NULL)
|
||||||
&& bfd_get_section_by_name (dynobj, ".eh_frame") != NULL)
|
|
||||||
{
|
{
|
||||||
const struct elf_x86_64_backend_data *const abed
|
const struct elf_x86_64_backend_data *const abed
|
||||||
= get_elf_x86_64_backend_data (dynobj);
|
= get_elf_x86_64_backend_data (dynobj);
|
||||||
|
@ -1,3 +1,13 @@
|
|||||||
|
2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
|
||||||
|
|
||||||
|
PR ld/13909
|
||||||
|
* ld-i386/i386.exp: Revert the last change.
|
||||||
|
* ld-x86-64/x86-64.exp: Likewise.
|
||||||
|
|
||||||
|
* ld-i386/dummy.s: Removed.
|
||||||
|
* ld-i386/pr13909.d: Likewise.
|
||||||
|
* ld-x86-64/pr13909.d: Likewise.
|
||||||
|
|
||||||
2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
|
2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
|
||||||
|
|
||||||
PR ld/13909
|
PR ld/13909
|
||||||
|
@ -1 +0,0 @@
|
|||||||
# Dummy
|
|
@ -233,7 +233,6 @@ run_dump_test "pr12718"
|
|||||||
run_dump_test "pr12921"
|
run_dump_test "pr12921"
|
||||||
run_dump_test "pr12570a"
|
run_dump_test "pr12570a"
|
||||||
run_dump_test "pr12570b"
|
run_dump_test "pr12570b"
|
||||||
run_dump_test "pr13909"
|
|
||||||
|
|
||||||
if { !([istarget "i?86-*-linux*"]
|
if { !([istarget "i?86-*-linux*"]
|
||||||
|| [istarget "i?86-*-gnu*"]
|
|| [istarget "i?86-*-gnu*"]
|
||||||
|
@ -1,10 +0,0 @@
|
|||||||
#name: PR ld/13909
|
|
||||||
#source: dummy.s
|
|
||||||
#as: --32
|
|
||||||
#ld: -melf_i386 -shared
|
|
||||||
#readelf: -S --wide
|
|
||||||
|
|
||||||
#failif
|
|
||||||
#...
|
|
||||||
+\[ [0-9]\] .eh_frame +PROGBITS +[0-9a-f]+ +[0-9a-f]+ 0+ +.*
|
|
||||||
#...
|
|
@ -1,10 +0,0 @@
|
|||||||
#name: PR ld/13909
|
|
||||||
#source: dummy.s
|
|
||||||
#as: --64
|
|
||||||
#ld: -melf_x86_64 -shared
|
|
||||||
#readelf: -S --wide
|
|
||||||
|
|
||||||
#failif
|
|
||||||
#...
|
|
||||||
+\[ [0-9]\] .eh_frame +PROGBITS +[0-9a-f]+ +[0-9a-f]+ 0+ +.*
|
|
||||||
#...
|
|
@ -208,7 +208,6 @@ run_dump_test "pr12921"
|
|||||||
run_dump_test "pr13947"
|
run_dump_test "pr13947"
|
||||||
run_dump_test "pr12570a"
|
run_dump_test "pr12570a"
|
||||||
run_dump_test "pr12570b"
|
run_dump_test "pr12570b"
|
||||||
run_dump_test "pr13909"
|
|
||||||
|
|
||||||
if { ![istarget "x86_64-*-linux*"] && ![istarget "x86_64-*-nacl*"]} {
|
if { ![istarget "x86_64-*-linux*"] && ![istarget "x86_64-*-nacl*"]} {
|
||||||
return
|
return
|
||||||
|
Reference in New Issue
Block a user