[Bug bootstrap/33100] [4.3 regression] on bootstrap getting section .eh_frame: bad cie version 0: offset 0x0
hjl at lucon dot org
gcc-bugzilla@gcc.gnu.org
Tue Sep 11 13:44:00 GMT 2007
------- Comment #11 from hjl at lucon dot org 2007-09-11 13:43 -------
.eh_frame section in the new crtend.S only has 4 byte:
[ 7] .eh_frame X86_64_UNWIND 0000000000000000 000000b8
0000000000000004 0000000000000000 A 0 0 4
which is the zero terminator:
bash-3.2$ readelf -wf crtend.o
The section .eh_frame contains:
00000000 ZERO terminator
bash-3.2$
Sun linker doesn't properly handle ZERO terminator in .eh_frame. It looks
like a Sun linker bug to me.
BTW, did your elfdump report
vs. (after):
Unwind Section: .eh_frame
FDE: [0x00000000]
length: 0x00 cieptr: 0x18
initloc: 0x00000000 addrrange: 0x0000
Auxiliary vals:
CIE: [0x00000004]
length: 0x18 cieid: 0
version: 1 augstring: `zR'
codealign: 0x1 dataalign: -8 retaddr: 16
It doesn't look like .eh_frame in the new crtend.o at all. That may be
a bug in your elfdump.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33100
More information about the Gcc-bugs
mailing list