Landing: b83e869cbe70

Project / Subsystem

binutils / alpha/ld

Date

2026-09-05

Author

Sam James <sjames@sourceware.org>

Commit

b83e869cbe70fc7ba2809babc7ad851b95b509bd

Source

public_inbox

Perf win

No

Breaking

No

All attributes

project
binutils
subsystem
alpha/ld
patch_id
—
commit_hash
b83e869cbe70fc7ba2809babc7ad851b95b509bd
source_type
public_inbox
headline
Alpha linker rejects non-zero addend for IFUNC references
tldr
Alpha linker now rejects references to IFUNCs with non-zero addends, as R_ALPHA_IRELATIVE relocation cannot accommodate offsets.
author
Sam James <sjames@sourceware.org>
outcome
committed
performance_win
false
breaking_change
false
series_id
—
series_parts
[]
tags
  • • alpha
  • • linker
  • • ifunc
  • • relocations
  • • elf
discussion_id_link
—
bugzilla_pr
—
date
2026-09-05T00:00:00.000Z

This commit updates the Alpha linker to reject references to IFUNC symbols that include a non-zero addend. The R_ALPHA_IRELATIVE relocation, used for IFUNCs, embeds the resolver’s address in its addend field, leaving no room for an additional offset. References originating from R_ALPHA_LITERAL or R_ALPHA_REFQUAD with an addend are now diagnosed as errors.