This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH] PR ld/20103: Skip an archive element if not added by linker
- 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: Wed, 25 May 2016 09:23:58 +0930
- Subject: Re: [PATCH] PR ld/20103: Skip an archive element if not added by linker
- Authentication-results: sourceware.org; auth=none
- References: <20160518022408 dot GA28694 at intel dot com> <20160518064916 dot GN24091 at bubble dot grove dot modra dot org> <CAMe9rOo+h-nmtv9VuJPJdmCy8=-wm5+ihpcCvsKCYnXQ5aDXSw at mail dot gmail dot com> <20160523142954 dot GD3300 at bubble dot grove dot modra dot org> <CAMe9rOr3pAPKRhpeSywfmD7OBU-z1ROQd_Lv8kzV1PGoGYcQBw at mail dot gmail dot com>
On Tue, May 24, 2016 at 10:59:28AM -0700, H.J. Lu wrote:
> bfd/
>
> PR ld/20103
> * cofflink.c (coff_link_check_archive_element): Return TRUE if
> linker add_archive_element callback returns FALSE.
> * ecoff.c (ecoff_link_check_archive_element): Likewise.
> * elf64-ia64-vms.c (elf64_vms_link_add_archive_symbols): Skip
> archive element if linker add_archive_element callback returns
> FALSE.
> * elflink.c (elf_link_add_archive_symbols): Likewise.
> * pdp11.c (aout_link_check_ar_symbols): Likewise.
> * vms-alpha.c (alpha_vms_link_add_archive_symbols): Likewise.
> * xcofflink.c (xcoff_link_check_dynamic_ar_symbols): Likewise.
> (xcoff_link_check_ar_symbols): Likewise.
>
> ld/
>
> PR ld/20103
> * ldmain.c (add_archive_element): Don't claim new IR symbols
> after all IR symbols have been claimed.
> * plugin.c (plugin_call_claim_file): Remove no_more_claiming
> check.
> * testsuite/ld-plugin/lto.exp (pr20103): New proc.
> Run PR ld/20103 tests.
> * testsuite/ld-plugin/pr20103a.c: New file.
> * testsuite/ld-plugin/pr20103b.c: Likewise.
> * testsuite/ld-plugin/pr20103c.c: Likewise.
OK.
--
Alan Modra
Australia Development Lab, IBM