This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Fix -flto on mingw (PR ld/18199)


I have committed this patch on the main branch. Is this OK to commit this to binutils-2_26-branch too, as this bug was a regression introduced in binutils-2.25.1?

Kwok Cheung Yeung

On 10/12/2015 2:58 PM, H.J. Lu wrote:
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



Attachment: 0001-ld-Fix-LTO-for-MinGW-targets.patch
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]