This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH] PR ld/20070: Handle symbols defined/referenced only within IR
- 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: Fri, 13 May 2016 09:15:30 +0930
- Subject: Re: [PATCH] PR ld/20070: Handle symbols defined/referenced only within IR
- Authentication-results: sourceware.org; auth=none
- References: <20160512153704 dot GA2075 at intel dot com>
On Thu, May 12, 2016 at 08:37:04AM -0700, H.J. Lu wrote:
> PR ld/20070
> * Makefile.am (noinst_LTLIBRARIES): Add libldtestplug4.la.
> (libldtestplug4_la_SOURCES): New.
> (libldtestplug4_la_CFLAGS): Likewise.
> (libldtestplug4_la_LDFLAGS): Likewise.
> * Makefile.in: Regenerated.
> * plugin.c (get_symbols): Return resolution based on IR symbol
> kinds for symbols defined/referenced only within IR.
> * testplug4.c: New file.
> * ld/testsuite/ld-plugin/pr20070.d: Likewise.
> * ld/testsuite/ld-plugin/pr20070a.c: Likewise.
> * ld/testsuite/ld-plugin/pr20070b.c: Likewise.
> * testsuite/ld-plugin/plugin.exp (plugin4_name): New.
> (plugin4_path): Likewise.
> Add a test for ld/20070.
OK.
--
Alan Modra
Australia Development Lab, IBM