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?