This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/22051] New: zero terminator in the middle of glibc's .eh_frame
- From: "hjl.tools at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Thu, 31 Aug 2017 03:39:03 +0000
- Subject: [Bug libc/22051] New: zero terminator in the middle of glibc's .eh_frame
- Auto-submitted: auto-generated
https://sourceware.org/bugzilla/show_bug.cgi?id=22051
Bug ID: 22051
Summary: zero terminator in the middle of glibc's .eh_frame
Product: glibc
Version: 2.27
Status: NEW
Severity: normal
Priority: P2
Component: libc
Assignee: unassigned at sourceware dot org
Reporter: hjl.tools at gmail dot com
CC: drepper.fsp at gmail dot com, schwab at sourceware dot org
Target Milestone: ---
1997-09-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* elf/sofini.c [HAVE_DWARF2_UNWIND_INFO]: Supply termination for
the frame unwind info section.
added
/* Terminate the frame unwind info section with a 4byte 0 as a sentinel;
this would be the 'length' field in a real FDE. */
typedef unsigned int ui32 __attribute__ ((mode (SI)));
static const ui32 __FRAME_END__[1]
__attribute__ ((used, section (".eh_frame")))
= { 0 };
to elf/sofini.c. Since libc.so is created with
# gcc -shared -static-libgcc ... elf/sofini.os .. -lgcc
The zero terminator is placed in the middle of glibc's .eh_frame due to object
files included from libgcc.a. Do we still need it today?
--
You are receiving this mail because:
You are on the CC list for the bug.