This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Override the previous definition from IR object


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]