[Bug debug/54568] Unused codes in unwind-dw2-fde.c on PT_GNU_EH_FRAME targets

hjl.tools at gmail dot com gcc-bugzilla@gcc.gnu.org
Thu Sep 13 16:18:00 GMT 2012


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54568

--- Comment #3 from H.J. Lu <hjl.tools at gmail dot com> 2012-09-13 16:18:24 UTC ---
(In reply to comment #2)
> Think about libraries built with older GCC versions or built with older
> binutils.  Those would still call the register routines instead of building
> .eh_frame_hdr.

We are talking static executables here.  .eh-frame-hdr section is generated by
the linker to create static executable and we know --eh-frame-hdr works with
the linker.  Why shouldn't --eh-frame-hdr work for static executable linked
with libraries built with older GCC versions or built with older binutils?



More information about the Gcc-bugs mailing list