Landing: 33ef266341c5
Project / Subsystem
binutils / alpha
Date
2026-09-05
Author
Sam James <sjames@sourceware.org>
Commit
33ef266341c5b700520758aa7aaee83b7cbd2835
Source
public_inbox
Perf win
No
Breaking
No
All attributes
- project
- binutils
- subsystem
- alpha
- patch_id
- —
- commit_hash
- 33ef266341c5b700520758aa7aaee83b7cbd2835
- source_type
- public_inbox
- headline
- Alpha PIC links now emit R_ALPHA_IRELATIVE for IFUNCs
- tldr
- Alpha linker correctly emits R_ALPHA_IRELATIVE for PIC links involving IFUNCs.
- author
- Sam James <sjames@sourceware.org>
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • linker
- • alpha
- • relocation
- • PIC
- • IFUNC
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-09-05T00:00:00.000Z
This commit modifies the Alpha linker to emit the R_ALPHA_IRELATIVE relocation type when handling PIC (Position Independent Code) links that involve IFUNCs (Indirect Functions). Previously, the linker would emit R_ALPHA_RELATIVE, which would resolve to the IFUNC’s resolver rather than the actual function selected by the resolver. This change ensures that the correct relocation is used, improving the correctness of PIC linking for IFUNCs on Alpha.