[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug ld/13909] PR ld/12570 causes eh_frame_hdr section to be sometimes t
From: |
hjl.tools at gmail dot com |
Subject: |
[Bug ld/13909] PR ld/12570 causes eh_frame_hdr section to be sometimes too large |
Date: |
Sun, 13 May 2012 21:56:52 +0000 |
http://sourceware.org/bugzilla/show_bug.cgi?id=13909
H.J. Lu <hjl.tools at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |WAITING
--- Comment #3 from H.J. Lu <hjl.tools at gmail dot com> 2012-05-13 21:56:52
UTC ---
Please try
http://sourceware.org/ml/binutils/2012-05/msg00173.html
plus:
diff --git a/bfd/elf32-i386.c b/bfd/elf32-i386.c
index 31b3c57..49387e7 100644
--- a/bfd/elf32-i386.c
+++ b/bfd/elf32-i386.c
@@ -1016,7 +1016,8 @@ 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)
+ && htab->elf.splt != NULL
+ && bfd_get_section_by_name (dynobj, ".eh_frame") != NULL)
{
flagword flags = get_elf_backend_data (dynobj)->dynamic_sec_flags;
htab->plt_eh_frame
diff --git a/bfd/elf64-x86-64.c b/bfd/elf64-x86-64.c
index aafe60d..399cf8c 100644
--- a/bfd/elf64-x86-64.c
+++ b/bfd/elf64-x86-64.c
@@ -980,7 +980,8 @@ elf_x86_64_create_dynamic_sections (bfd *dynobj,
if (!info->no_ld_generated_unwind_info
&& 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
= get_elf_x86_64_backend_data (dynobj);
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
- [Bug ld/13909] PR ld/12570 causes eh_frame_hdr section to be sometimes too large,
hjl.tools at gmail dot com <=
- [Bug ld/13909] PR ld/12570 causes eh_frame_hdr section to be sometimes too large, develop at kristov dot de, 2012/05/14
- [Bug ld/13909] PR ld/12570 causes eh_frame_hdr section to be sometimes too large, hjl.tools at gmail dot com, 2012/05/14
- [Bug ld/13909] PR ld/12570 causes eh_frame_hdr section to be sometimes too large, cvs-commit at gcc dot gnu.org, 2012/05/22
- [Bug ld/13909] PR ld/12570 causes eh_frame_hdr section to be sometimes too large, cvs-commit at gcc dot gnu.org, 2012/05/22
- [Bug ld/13909] PR ld/12570 causes eh_frame_hdr section to be sometimes too large, cvs-commit at gcc dot gnu.org, 2012/05/23
- [Bug ld/13909] PR ld/12570 causes eh_frame_hdr section to be sometimes too large, amodra at gmail dot com, 2012/05/23
- [Bug ld/13909] PR ld/12570 causes eh_frame_hdr section to be sometimes too large, cvs-commit at gcc dot gnu.org, 2012/05/24
- [Bug ld/13909] PR ld/12570 causes eh_frame_hdr section to be sometimes too large, cvs-commit at gcc dot gnu.org, 2012/05/24