[v2 PATCH] elf: Verify that there is only one default version

Alan Modra amodra@gmail.com
Fri Aug 28 06:01:51 GMT 2026


On Thu, Aug 27, 2026 at 08:12:55AM +0800, H.J. Lu wrote:
> When assigning the symbol version, verify that there is only one default
> version.
> 
> bfd/
> 
> 	PR ld/34550
> 	* elflink.c (_bfd_elf_link_assign_sym_version): Verify that there
> 	is only one default version.
> 
> ld/
> 
> 	PR ld/34550
> 	* testsuite/ld-elf/pr34550.d: New test.
> 	* testsuite/ld-elf/pr34550.t: Likewise.
> 	* testsuite/ld-elf/pr34550a.s: Likewise.
> 	* testsuite/ld-elf/pr34550b.s: Likewise.

OK if this has been tested properly over multiple targets.

-- 
Alan Modra


More information about the Binutils mailing list