This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: PATCH: PR ld/14272: Mark the plugin symbol undefined
- 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, 4 Feb 2015 21:38:41 +1030
- Subject: Re: PATCH: PR ld/14272: Mark the plugin symbol undefined
- Authentication-results: sourceware.org; auth=none
- References: <20120628221026 dot GA5008 at intel dot com> <CAMe9rOqVkDWQ3gzojEQzRLmcj=DC+a9GS5HWX2Zy9S7HD9QkBA at mail dot gmail dot com>
On Tue, Feb 03, 2015 at 09:06:47AM -0800, H.J. Lu wrote:
> PR ld/12365
> * ld-plugin/pr12365a.c: New file.
> * ld-plugin/pr12365b.c: Likewise.
> * ld-plugin/pr12365c.c: Likewise.
The testcase fails when using gcc-5. Also, gcc-5 objects don't seem
exercise your _bfd_elf_fix_symbol_flags code. I presume you need an
older version of gcc, with lto bugs, to need those hacks. Is that
true? Can you write a testcase that does exercise your
_bfd_elf_fix_symbol_flags code?
--
Alan Modra
Australia Development Lab, IBM