This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH] PR ld/20267: Use the IR symbol table for the IR input object
- From: Alan Modra <amodra at gmail dot com>
- To: "H.J. Lu" <hjl dot tools at gmail dot com>
- Cc: binutils at sourceware dot org
- Date: Mon, 20 Jun 2016 12:18:41 +0930
- Subject: Re: [PATCH] PR ld/20267: Use the IR symbol table for the IR input object
- Authentication-results: sourceware.org; auth=none
- References: <20160619015635 dot GA24627 at gmail dot com>
On Sat, Jun 18, 2016 at 06:56:35PM -0700, H.J. Lu wrote:
> bfd/
>
> PR ld/18250
> PR ld/20267
> * elflink.c: Include plugin.h if BFD_SUPPORTS_PLUGINS is
> defined.
> (elf_link_is_defined_archive_symbol): Call
> bfd_link_plugin_object_p on unknown plugin object and use the
> IR symbol table if the input is an IR object.
> * plugin.c (bfd_link_plugin_object_p): New function.
> * plugin.h (bfd_link_plugin_object_p): New prototype.
>
> ld/
>
> PR ld/20267
> * testsuite/ld-plugin/lto.exp (lto_link_tests): Add test for
> PR ld/20267.
> (lto_run_tests): Likewise.
> * testsuite/ld-plugin/pr20267a.c: New file.
> * testsuite/ld-plugin/pr20267b.c: Likewise.
OK, but please watch out for any testsuite merge issue. I had to edit
your patch for pr20276 and it looks like this one will now conflict.
> + object file is an IR object, give linker LTO plugin an chance to
".. give the linker LTO plugin a chance to"
--
Alan Modra
Australia Development Lab, IBM