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

Jan Beulich jbeulich@suse.com
Tue Jul 21 13:09:55 GMT 2026


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] } {



More information about the Binutils mailing list