[PATCH 07/11] alpha: support IFUNC symbols in non-PIC links

Project / Subsystem

binutils / alpha

Date

2026-09-01

Proposer

Matt Turner <mattst88@gmail.com>

Source type

public_inbox

Consensus

Proposed

Sentiment

—/10

Technical tradeoffs

  • • Enables IFUNC support in a wider range of link scenarios.
  • • Introduces a new section (`.rela.iplt`) and associated processing logic.

All attributes

project
binutils
subsystem
alpha
patch_id
—
discussion_id
20260901023318.3503991-8-mattst88@gmail.com
source_type
public_inbox
title
[PATCH 07/11] alpha: support IFUNC symbols in non-PIC links
headline
alpha: support IFUNC symbols in non-PIC links
tldr
Enables IFUNC symbol support in non-Position-Independent Code (PIC) links on Alpha.
proposer
Matt Turner <mattst88@gmail.com>
consensus
Proposed
outcome
proposed
sentiment_score
—
technical_tradeoffs
  • • Enables IFUNC support in a wider range of link scenarios.
  • • Introduces a new section (`.rela.iplt`) and associated processing logic.
series_id
binutils:alpha: support ifunc symbols in non-pic links
series_role
reply
series_parts
[]
tags
  • • binutils
  • • alpha
  • • linker
  • • IFUNC
  • • PIC
bugzilla_url
—
date
2026-09-01T00:00:00.000Z

[PATCH 07/11] alpha: support IFUNC symbols in non-PIC links

This patch enables support for indirect function (IFUNC) symbols in non-PIC (Position-Independent Code) links on the Alpha architecture. Previously, non-PIC links lacked a mechanism to reserve dynamic relocations for IFUNCs, leading to failures. This change introduces a new .rela.iplt section to store these relocations, ensuring they are correctly processed by the dynamic linker (ld.so) or the C library’s startup code, thereby allowing IFUNCs to function in static executables.