[PATCH] Mark all weak aliases for copy relocations

Alan Modra amodra@gmail.com
Sun Jan 26 04:13:00 GMT 2020


On Sat, Jan 25, 2020 at 08:02:10AM -0800, H.J. Lu wrote:
> With copy relocations, mark all weak aliases when marking the non-weak
> definition for reference to one weak alias.
> 
> bfd/
> 
> 	PR ld/25458
> 	* elflink.c (_bfd_elf_gc_mark_rsec): Mark all weak aliases for
> 	copy relocations.
> 
> ld/
> 
> 	PR ld/25458
> 	* testsuite/ld-elf/pr25458.map: New file.
> 	* testsuite/ld-elf/pr25458.rd: Likewise.
> 	* testsuite/ld-elf/pr25458a.s: Likewise.
> 	* testsuite/ld-elf/pr25458b.s: Likewise.
> 	* testsuite/ld-elf/shared.exp: Run PR ld/25458 test.

OK.

-- 
Alan Modra
Australia Development Lab, IBM



More information about the Binutils mailing list