summaryrefslogtreecommitdiff
path: root/bfd/elf32-i386.c
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2012-05-22 15:54:56 +0000
committerH.J. Lu <hjl.tools@gmail.com>2012-05-22 15:54:56 +0000
commitdc7b2a3e3d6b88c381a34f5c821ea1c47fc448b8 (patch)
tree7551628f4ff93d1b04e82dce8dabf9e9acdaf48b /bfd/elf32-i386.c
parentfdfbcf950e37892855e5bb9793359979e5d9e601 (diff)
downloadbinutils-redhat-dc7b2a3e3d6b88c381a34f5c821ea1c47fc448b8.tar.gz
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.
Diffstat (limited to 'bfd/elf32-i386.c')
-rw-r--r--bfd/elf32-i386.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/bfd/elf32-i386.c b/bfd/elf32-i386.c
index e0d7fff451..84299ceb9e 100644
--- a/bfd/elf32-i386.c
+++ b/bfd/elf32-i386.c
@@ -1016,8 +1016,7 @@ elf_i386_create_dynamic_sections (bfd *dynobj, struct bfd_link_info *info)
if (!info->no_ld_generated_unwind_info
&& htab->plt_eh_frame == NULL
- && htab->elf.splt != NULL
- && bfd_get_section_by_name (dynobj, ".eh_frame") != NULL)
+ && htab->elf.splt != NULL)
{
flagword flags = get_elf_backend_data (dynobj)->dynamic_sec_flags;
htab->plt_eh_frame