This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH] Fix -flto on mingw (PR ld/18199)
- From: "H.J. Lu" <hjl dot tools at gmail dot com>
- To: Kwok Cheung Yeung <kcy at codesourcery dot com>
- Cc: Binutils <binutils at sourceware dot org>
- Date: Thu, 10 Dec 2015 06:58:46 -0800
- Subject: Re: [PATCH] Fix -flto on mingw (PR ld/18199)
- Authentication-results: sourceware.org; auth=none
- References: <5668C2A8 dot 1020405 at codesourcery dot com> <CAMe9rOrtgWOpiS75EKXD=s0-fGmE5ynY7KEAB9==hUPAhvR1Xw at mail dot gmail dot com> <566981FE dot 4000407 at codesourcery dot com>
On Thu, Dec 10, 2015 at 5:45 AM, Kwok Cheung Yeung <kcy@codesourcery.com> wrote:
> On 10/12/2015 3:47 AM, H.J. Lu wrote:
>>
>>
>> How about this patch instead?
>>
>
> I agree it is probably better to do it during the bfd_create (as the
> implementation might change at a later date), though calling
> bfd_plugin_target_p twice in the function is a bit inelegant.
You can cache it.
> I will get this committed later today, thanks!
>
> Kwok Cheung Yeung
--
H.J.