[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug ld/22048] New: Incorrect .eh_frame section in libc.so
From: |
hjl.tools at gmail dot com |
Subject: |
[Bug ld/22048] New: Incorrect .eh_frame section in libc.so |
Date: |
Wed, 30 Aug 2017 21:01:00 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=22048
Bug ID: 22048
Summary: Incorrect .eh_frame section in libc.so
Product: binutils
Version: 2.30 (HEAD)
Status: NEW
Severity: normal
Priority: P2
Component: ld
Assignee: unassigned at sourceware dot org
Reporter: hjl.tools at gmail dot com
CC: amodra at gmail dot com
Target Milestone: ---
On x86-64, ld with
commit 79a94a2ad1e6e2f227de07427481e4bb8be84504
Author: Alan Modra <address@hidden>
Date: Mon Aug 14 09:25:17 2017 +0930
PR21441, Unnecessary padding of .eh_frame section
Until all .eh_frame sections have been edited we don't know their
sizes. So it isn't possible to properly decide whether a non-empty
.eh_frame section follows a given section until editing is complete.
bfd/
PR 21441
* elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Don't add
alignment padding here.
* elflink.c (bfd_elf_discard_info): Add .eh_frame padding here
in a reverse pass over sections.
ld/
PR 21441
* testsuite/ld-x86-64/pr21038a.d: Adjust.
* testsuite/ld-x86-64/pr21038a-now.d: Adjust.
generates incorrect .eh_frame section:
# readelf -wf libc.so /dev/null
readelf: Warning: Invalid CIE pointer 0x00000014 in FDE at 0x020574
readelf: Warning: Invalid length 0x7c000000 in FDE at 0x020579
readelf: Warning: Invalid CIE pointer 0xd8000205 in FDE at 0x020579
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug ld/22048] New: Incorrect .eh_frame section in libc.so,
hjl.tools at gmail dot com <=
- [Bug ld/22048] Incorrect .eh_frame section in libc.so, amodra at gmail dot com, 2017/08/30
- [Bug ld/22048] Incorrect .eh_frame section in libc.so, hjl.tools at gmail dot com, 2017/08/30
- [Bug ld/22048] Incorrect .eh_frame section in libc.so, amodra at gmail dot com, 2017/08/30
- [Bug ld/22048] Incorrect .eh_frame section in libc.so, hjl.tools at gmail dot com, 2017/08/30
- [Bug ld/22048] Incorrect .eh_frame section in libc.so, hjl.tools at gmail dot com, 2017/08/30
- [Bug ld/22048] Incorrect .eh_frame section in libc.so, hjl.tools at gmail dot com, 2017/08/30
- [Bug ld/22048] Incorrect .eh_frame section in libc.so, hjl.tools at gmail dot com, 2017/08/30
- [Bug ld/22048] Incorrect .eh_frame section in libc.so, hjl.tools at gmail dot com, 2017/08/30
- [Bug ld/22048] Incorrect .eh_frame section in libc.so, cvs-commit at gcc dot gnu.org, 2017/08/30
- [Bug ld/22048] Incorrect .eh_frame section in libc.so, amodra at gmail dot com, 2017/08/31