[PATCH] Override the previous definition from IR object
Alan Modra
amodra@gmail.com
Fri Dec 7 23:22:00 GMT 2018
On Fri, Dec 07, 2018 at 06:23:03AM -0800, H.J. Lu wrote:
> Mark the previous definition from IR object as undefined so that the
> generic linker will override it.
>
> bfd/
>
> PR ld/23958
> * elflink.c (_bfd_elf_add_default_symbol): Override the previous
> definition from IR object.
>
> ld/
>
> PR ld/23958
> * testsuite/ld-plugin/lto.exp: Run PR ld/23958 test.
> * testsuite/ld-plugin/pr23958.c: New file.
> * testsuite/ld-plugin/pr23958.t: Likewise.
Looks good.
--
Alan Modra
Australia Development Lab, IBM
More information about the Binutils
mailing list