This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: Remove .eh_frame zero terminators
- From: Alan Modra <amodra at gmail dot com>
- To: "H.J. Lu" <hjl dot tools at gmail dot com>
- Cc: Binutils <binutils at sourceware dot org>
- Date: Fri, 1 Sep 2017 10:37:57 +0930
- Subject: Re: Remove .eh_frame zero terminators
- Authentication-results: sourceware.org; auth=none
- References: <20170831103549.GH28143@bubble.grove.modra.org> <CAMe9rOrggqs-juK86LEHnFhVezELvgLbB4TkFQNc2V0SBtKCcg@mail.gmail.com> <20170831124017.GJ28143@bubble.grove.modra.org> <CAMe9rOp_UPKDcd-BCrgJYCUHr5t-aCe3hU522Uvsu69N6rsaaA@mail.gmail.com>
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