[PATCH 03/11] alpha: allocate R_ALPHA_IRELATIVE

Project / Subsystem

binutils / alpha

Date

2026-09-01

Proposer

Matt Turner <mattst88@gmail.com>

Source type

public_inbox

Consensus

Proposed

Sentiment

—/10

Technical tradeoffs

  • • Introduces a new relocation type necessary for IFUNC support.
  • • Requires synchronization with the corresponding glibc definition.

All attributes

project
binutils
subsystem
alpha
patch_id
—
discussion_id
20260901023318.3503991-4-mattst88@gmail.com
source_type
public_inbox
title
[PATCH 03/11] alpha: allocate R_ALPHA_IRELATIVE
headline
alpha: allocate R_ALPHA_IRELATIVE
tldr
Define the R_ALPHA_IRELATIVE relocation type for the Alpha architecture.
proposer
Matt Turner <mattst88@gmail.com>
consensus
Proposed
outcome
proposed
sentiment_score
—
technical_tradeoffs
  • • Introduces a new relocation type necessary for IFUNC support.
  • • Requires synchronization with the corresponding glibc definition.
series_id
binutils:alpha: allocate r_alpha_irelative
series_role
reply
series_parts
[]
tags
  • • alpha
  • • linker
  • • relocation
  • • ifunc
  • • dynamic linking
bugzilla_url
—
date
2026-09-01T00:00:00.000Z

[PATCH 03/11] alpha: allocate R_ALPHA_IRELATIVE

This patch introduces the R_ALPHA_IRELATIVE relocation type for the Alpha architecture, assigning it the value 42. This relocation is crucial for dynamic linking and static executables, as it allows the dynamic linker or C library startup code to execute an IFUNC’s resolver and store the returned address. The patch also adds the necessary entry to the BFD relocation map and defines the relocation’s class, preparing for linker support that will generate this relocation.