|
From: | hjl.tools at gmail dot com |
Subject: | [Bug ld/22048] Incorrect .eh_frame section in libc.so |
Date: | Thu, 31 Aug 2017 03:22:59 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=22048 --- Comment #4 from H.J. Lu <hjl.tools at gmail dot com> --- A testcase: address@hidden build-x86_64-linux]$ cat /tmp/x.c typedef unsigned int ui32 __attribute__ ((mode (SI))); static const ui32 __FRAME_END__[1] __attribute__ ((used, section (".eh_frame"))) = { 0 }; address@hidden build-x86_64-linux]$ cat /tmp/y.c void foo (void) { } address@hidden build-x86_64-linux]$ gcc -fPIC -c /tmp/x.c /tmp/y.c address@hidden build-x86_64-linux]$ ./ld -shared x.o y.o address@hidden build-x86_64-linux]$ readelf -wf a.out > /dev/null readelf: Warning: Invalid length 0x14434347 in FDE at 0x000005 address@hidden build-x86_64-linux]$ -- You are receiving this mail because: You are on the CC list for the bug.
[Prev in Thread] | Current Thread | [Next in Thread] |