https://sourceware.org/bugzilla/show_bug.cgi?id=22048
--- Comment #4 from H.J. Lu <hjl.tools at gmail dot com> ---
A testcase:
[hjl@gnu-tools-1 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 };
[hjl@gnu-tools-1 build-x86_64-linux]$ cat /tmp/y.c
void
foo (void)
{
}
[hjl@gnu-tools-1 build-x86_64-linux]$ gcc -fPIC -c /tmp/x.c /tmp/y.c
[hjl@gnu-tools-1 build-x86_64-linux]$ ./ld -shared x.o y.o
[hjl@gnu-tools-1 build-x86_64-linux]$ readelf -wf a.out > /dev/null
readelf: Warning: Invalid length 0x14434347 in FDE at 0x000005
[hjl@gnu-tools-1 build-x86_64-linux]$
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
bug-binutils mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-binutils