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

Alan Modra <[email protected]>
Newsgroups gmane.comp.gnu.binutils
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.