Remove .eh_frame zero terminators

Alan Modra amodra@gmail.com
Fri Sep 1 01:08:00 GMT 2017


On Thu, Aug 31, 2017 at 06:10:07AM -0700, H.J. Lu wrote:
> We should revisit:
> 
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54568
> 
> At least always pass --eh-frame-hdr to ld for -flto.

Yes, that would make sense on the gcc side.  For ld, we ought to be
more clever about where we put things after the plugin adds the LTO
recompiled objects.  Ideally the recompiled objects ought to be
ordered to same place their IR objects were, and files extracted from
archives on the second pass ought to go in the same place as they
would if extracted on the first pass..

-- 
Alan Modra
Australia Development Lab, IBM



More information about the Binutils mailing list