PATCH: PR ld/14272: Mark the plugin symbol undefined

Alan Modra amodra@gmail.com
Wed Feb 4 11:08:00 GMT 2015


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



More information about the Binutils mailing list