Landing: e325e994e8fb
Project / Subsystem
binutils / ld
Date
2026-07-19
Author
Alan Modra <amodra@sourceware.org>
Commit
e325e994e8fb63b6b1fa7e0b70b783fe8ff69dd2
Source
public_inbox
Perf win
No
Breaking
No
All attributes
- project
- binutils
- subsystem
- ld
- patch_id
- —
- commit_hash
- e325e994e8fb63b6b1fa7e0b70b783fe8ff69dd2
- source_type
- public_inbox
- headline
- init-mixed.c count
- tldr
- Renames 'count' to 'order' in ld's init-mixed.c test, using smaller values to prevent overflow on 16-bit targets.
- author
- Alan Modra <amodra@sourceware.org>
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • linker
- • testsuite
- • bugfix
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-07-19T00:00:00.000Z
The ld testsuite file init-mixed.c has been updated to rename a variable from count to order. This change clarifies the variable’s purpose, as it tracks the initialization order rather than an arbitrary count. Additionally, the test now uses small integer values (0-6) to verify this order, preventing potential integer overflows on targets with limited 16-bit integer support, as introduced by a previous commit.