[PATCH] ld/testsuite: enable build-id for ELF platforms
Project / Subsystem
binutils / ld/testsuite
Date
2026-05-29
Proposer
Clément Chigot <chigot@adacore.com>
Source type
public_inbox
Consensus
Proposed
Sentiment
—/10
Technical tradeoffs
- • Enabling --build-id for all ELF platforms may expose issues on platforms where it was previously disabled.
- • The patch assumes that all ELF targets support --build-id, which may not be the case.
All attributes
- project
- binutils
- subsystem
- ld/testsuite
- patch_id
- —
- discussion_id
- 20260529133254.1429717-1-chigot@adacore.com
- source_type
- public_inbox
- title
- [PATCH] ld/testsuite: enable build-id for ELF platforms
- headline
- Enable --build-id for All ELF Platforms
- tldr
- The patch enables the --build-id option for all ELF platforms in the ld testsuite by removing target-specific restrictions.
- proposer
- Clément Chigot <chigot@adacore.com>
- consensus
- Proposed
- outcome
- proposed
- sentiment_score
- —
- technical_tradeoffs
-
- • Enabling --build-id for all ELF platforms may expose issues on platforms where it was previously disabled.
- • The patch assumes that all ELF targets support --build-id, which may not be the case.
- series_id
- —
- series_role
- standalone
- series_parts
- []
- tags
-
- • linker
- • build-id
- • ELF
- • testsuite
- bugzilla_url
- —
- date
- 2026-05-29T00:00:00.000Z
[PATCH] ld/testsuite: enable build-id for ELF platforms
This patch removes target-specific restrictions in the ld testsuite, enabling the --build-id option for all ELF platforms. The --build-id option is defined within elf.em and should be available for all platforms matching is_elf_format.