Re: [PATCH] testsuite: Also exclude `*-*-kfreebsd*-gnu' from STB_GNU_UNIQUE tests

Jan Beulich <[email protected]> Tue, 21 Jul 2026 15:09:55 +0200
Newsgroups gmane.comp.gnu.binutils
Message-ID <[email protected]>
On 21.07.2026 14:56, Maciej W. Rozycki wrote:
> --- binutils-gdb.orig/binutils/testsuite/lib/binutils-common.exp
> +++ binutils-gdb/binutils/testsuite/lib/binutils-common.exp
> @@ -308,7 +308,7 @@ proc is_elf_unused_section_symbols {} {
>  # This require ELFOSABI_GNU, and `bfd_elf_final_link'.
>  #
>  proc supports_gnu_unique {} {
> -    if { [istarget *-*-freebsd*] } {
> +    if { [istarget *-*-freebsd*] || [istarget *-*-kfreebsd*-gnu] } {

Is the -gnu at the end really needed here? If yes, it's okay as-is, but
preferably it would be put in without that tail.

Jan

>  	return 0
>      }
>      if { [supports_gnu_osabi] && ![is_generic] } {