[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 15:50:00 GMT 2012


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

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at redhat dot com

--- Comment #1 from H.J. Lu <hjl.tools at gmail dot com> 2012-09-13 15:50:08 UTC ---
It is needed by crtbeginT.o for -static since PT_GNU_EH_FRAME isn't
used for static executables.  However, dl_iterate_phdr works fine
with libc.a from glibc.  Jakub, do you remember why PT_GNU_EH_FRAME
isn't used on static executables?



More information about the Gcc-bugs mailing list