Landing: 6e72ff251801
Project / Subsystem
binutils / aarch64
Date
2026-08-07
Author
Kyrylo Tkachov <ktkachov@sourceware.org>
Commit
6e72ff251801b05ec10bed36130647985658d7c3
Source
public_inbox
Perf win
No
Breaking
No
All attributes
- project
- binutils
- subsystem
- aarch64
- patch_id
- —
- commit_hash
- 6e72ff251801b05ec10bed36130647985658d7c3
- source_type
- public_inbox
- headline
- aarch64: ERRAT_NONE is not zero, so test against it
- tldr
- Fix aarch64 linker to correctly handle erratum workaround flags.
- author
- Kyrylo Tkachov <ktkachov@sourceware.org>
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • aarch64
- • linker
- • bugfix
- • errata
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-08-07T00:00:00.000Z
The aarch64 linker incorrectly applied an erratum workaround by default because the test for fix_erratum_843419 was a simple boolean check, and ERRAT_NONE is not zero. This commit modifies the tests in elfnn-aarch64.c to explicitly compare against ERRAT_NONE, ensuring the workaround is only applied when requested by the user. This prevents unnecessary link-time overhead.