Landing: 0e4e6037429c
Project / Subsystem
binutils / ld
Date
2026-07-19
Author
Alan Modra <amodra@sourceware.org>
Commit
0e4e6037429cd5df3de62f6e373955c0d3b85533
Source
public_inbox
Perf win
No
Breaking
No
All attributes
- project
- binutils
- subsystem
- ld
- patch_id
- —
- commit_hash
- 0e4e6037429cd5df3de62f6e373955c0d3b85533
- source_type
- public_inbox
- headline
- ld: testsuite: Associate C identifiers with symbols
- tldr
- Uses asm keyword in linker testsuite to map C identifiers to assembler symbols, resolving target-specific naming inconsistencies.
- author
- Alan Modra <amodra@sourceware.org>
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • linker
- • testsuite
- • ABI
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-07-19T00:00:00.000Z
This commit updates the linker’s testsuite to use the asm keyword to explicitly associate C identifiers with their corresponding assembler symbol names. This resolves issues where different targets prepend underscores or use other naming conventions for C identifiers, ensuring consistent behavior when linking C and assembly code, or when symbols are specified on the command line.