ld-elf shared.exp
Project / Subsystem
binutils / binutils
Date
2026-09-10
Proposer
Alan Modra
Source type
public_inbox
Consensus
Proposed
Sentiment
7/10
Technical tradeoffs
- • Improves the robustness and accuracy of the linker test suite.
- • Ensures C++ specific tests do not fail due to the absence of a C++ cross-compiler.
- • Corrects specific linkage behavior tests related to dynamic library handling.
All attributes
- project
- binutils
- subsystem
- binutils
- patch_id
- —
- discussion_id
- aqJtJk7OOFFe31cR@squeak.grove.modra.org
- source_type
- public_inbox
- title
- ld-elf shared.exp
- headline
- ld-elf shared.exp
- tldr
- Fixes ld-elf shared.exp test to correctly handle C++ compiler availability and a specific test case.
- proposer
- Alan Modra
- consensus
- Proposed
- outcome
- proposed
- sentiment_score
- 7
- technical_tradeoffs
-
- • Improves the robustness and accuracy of the linker test suite.
- • Ensures C++ specific tests do not fail due to the absence of a C++ cross-compiler.
- • Corrects specific linkage behavior tests related to dynamic library handling.
- series_id
- —
- series_role
- standalone
- series_parts
- []
- tags
-
- • linker
- • ELF
- • shared libraries
- • testsuite
- • C++
- bugzilla_url
- —
- date
- 2026-09-10T00:00:00.000Z
ld-elf shared.exp
This patch corrects the ld-elf/shared.exp test script. It ensures that C++ specific tests are only run when a C++ compiler for the target is available, preventing unnecessary failures. Additionally, it enables a commented-out test for libdl3b.so and corrects its expected output, while also deleting an obsolete output file.