[PATCH 3/3] ld/testsuite: Add comprehensive PE COFF weak external tests
Project / Subsystem
binutils / ld/testsuite
Date
2026-05-30
Proposer
Peter Damianov <peter0x44@disroot.org>
Source type
public_inbox
Consensus
Proposed
Sentiment
—/10
Technical tradeoffs
- • Increased test coverage vs. increased maintenance burden for new tests.
All attributes
- project
- binutils
- subsystem
- ld/testsuite
- patch_id
- —
- discussion_id
- 20260530191522.57144-4-peter0x44@disroot.org
- source_type
- public_inbox
- title
- [PATCH 3/3] ld/testsuite: Add comprehensive PE COFF weak external tests
- headline
- Ld/testsuite: Add comprehensive PE COFF weak external tests
- tldr
- Adds a comprehensive test suite for PE COFF weak externals to cover various interactions between weak and strong symbols.
- proposer
- Peter Damianov <peter0x44@disroot.org>
- consensus
- Proposed
- outcome
- proposed
- sentiment_score
- —
- technical_tradeoffs
-
- • Increased test coverage vs. increased maintenance burden for new tests.
- series_id
- binutils:ld/testsuite: add comprehensive pe coff weak external tests
- series_role
- reply
- series_parts
- []
- tags
-
- • ld
- • testsuite
- • PE COFF
- • weak symbols
- bugzilla_url
- —
- date
- 2026-05-30T00:00:00.000Z
[PATCH 3/3] ld/testsuite: Add comprehensive PE COFF weak external tests
This patch adds a comprehensive test suite for PE COFF weak externals, covering the matrix of interactions between weak and strong symbols. The tests are based on existing testcases by Martin Storsjo. These tests aim to ensure correct linker behavior when dealing with weak symbols in PE COFF objects.