Landing: 631427fc512f
Project / Subsystem
gcc / aarch64
Date
2026-02-03
Author
Wilco Dijkstra
Commit
631427fc512fba0c16eab30c69f3c3aa16f2dab1
Source
github
Perf win
No
Breaking
No
All attributes
- project
- gcc
- subsystem
- aarch64
- patch_id
- —
- commit_hash
- 631427fc512fba0c16eab30c69f3c3aa16f2dab1
- source_type
- github
- headline
- AArch64: Deprecate -mpc-relative-literal-loads.
- tldr
- The option `-mpc-relative-literal-loads` is now deprecated for AArch64 due to issues with special symbols in the text section.
- author
- Wilco Dijkstra
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • aarch64
- • deprecation
- • literal loads
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-02-03T00:00:00.000Z
The -mpc-relative-literal-loads option for AArch64 is now deprecated. Emitting special symbols in the text section can cause issues, and given that GCC now uses anchors for literals, this relatively obscure option is no longer necessary. Users employing this option will now receive a deprecation warning.