Landing: 40691e7dd66b
Project / Subsystem
gcc / gcc
Date
2026-08-07
Author
Michael Meissner
Commit
40691e7dd66bcf01fe476e6fd946225fd6f97540
Source
github
Perf win
No
Breaking
No
All attributes
- project
- gcc
- subsystem
- gcc
- patch_id
- —
- commit_hash
- 40691e7dd66bcf01fe476e6fd946225fd6f97540
- source_type
- github
- headline
- PowerPC -mcmodel=large now supports PC-relative addressing.
- tldr
- PowerPC compilers now allow the large code model (-mcmodel=large) to use PC-relative addressing, previously restricted to medium.
- author
- Michael Meissner
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • powerpc
- • code-generation
- • compiler-options
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-08-07T00:00:00.000Z
This change enables the use of PC-relative addressing with the -mcmodel=large option for PowerPC processors, including Power10 and Power11. Previously, PC-relative addressing was only supported for the -mcmodel=medium option. This update allows for greater flexibility in code generation for large models on these architectures.