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?