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

Project / Subsystem

binutils / testsuite

Date

2026-07-21

Proposer

"Maciej W. Rozycki" <macro@orcam.me.uk>

Source type

public_inbox

Consensus

Proposed

Sentiment

8/10

Technical tradeoffs

  • Correctness of test suite exclusions for specific target architectures.
  • Ensuring accurate reporting of feature support (STB_GNU_UNIQUE).

All attributes

project
binutils
subsystem
testsuite
patch_id
discussion_id
alpine.DEB.2.21.2607211343170.14485@angie.orcam.me.uk
source_type
public_inbox
title
[PATCH] testsuite: Also exclude `*-*-kfreebsd*-gnu' from STB_GNU_UNIQUE tests
headline
testsuite: Exclude `*-*-kfreebsd*-gnu' from STB_GNU_UNIQUE tests
tldr
Patch updates binutils testsuite to correctly exclude kfreebsd-gnu targets from STB_GNU_UNIQUE symbol tests.
proposer
"Maciej W. Rozycki" <macro@orcam.me.uk>
consensus
Proposed
outcome
proposed
sentiment_score
8
technical_tradeoffs
  • Correctness of test suite exclusions for specific target architectures.
  • Ensuring accurate reporting of feature support (STB_GNU_UNIQUE).
series_id
series_role
standalone
series_parts
[]
tags
  • binutils
  • testsuite
  • elf
  • symbols
  • regression
bugzilla_url
date
2026-07-21T00:00:00.000Z

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

This patch updates the binutils test suite to correctly exclude *-*-kfreebsd*-gnu targets from tests related to STB_GNU_UNIQUE symbols. It aligns the exclusion logic with FreeBSD targets, which use the same BFD vectors and ELFOSABI_FREEBSD. This fix resolves several regressions observed on mips-kfreebsd-gnu related to symbol visibility and unique symbol handling.