Landing: 0fdeb3d24aab
Project / Subsystem
binutils / loongarch
Date
2026-05-01
Author
Alan Modra <amodra@sourceware.org>
Commit
0fdeb3d24aab6990e8846dcbd0dede0c70ddf111
Source
public_inbox
Perf win
No
Breaking
No
All attributes
- project
- binutils
- subsystem
- loongarch
- patch_id
- —
- commit_hash
- 0fdeb3d24aab6990e8846dcbd0dede0c70ddf111
- source_type
- public_inbox
- headline
- LoongArch: Fix readelf test for instruction alignment.
- tldr
- Adjusts a readelf test for LoongArch to correctly verify 4-byte alignment of machine instructions in both 32-bit and 64-bit objects.
- author
- Alan Modra <amodra@sourceware.org>
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • assembler
- • loongarch
- • testsuite
- • alignment
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-05-01T00:00:00.000Z
A readelf test for LoongArch was failing on 32-bit objects because it was over-specifying the expected output. This commit modifies the test to be less specific, ensuring that it correctly verifies the 4-byte alignment of machine instructions for both loongarch32 and loongarch64.