Landing: 28884fbb1926

Project / Subsystem

binutils / alpha/ld

Date

2026-09-05

Author

Sam James <sjames@sourceware.org>

Commit

28884fbb19262ef861cb883e7975eee2356a01f1

Source

public_inbox

Perf win

No

Breaking

No

All attributes

project
binutils
subsystem
alpha/ld
patch_id
—
commit_hash
28884fbb19262ef861cb883e7975eee2356a01f1
source_type
public_inbox
headline
Alpha linker rejects IFUNC address in read-only data for static links
tldr
Alpha static linking now rejects taking an IFUNC address from read-only data, as it cannot be made writable at runtime.
author
Sam James <sjames@sourceware.org>
outcome
committed
performance_win
false
breaking_change
false
series_id
—
series_parts
[]
tags
  • • alpha
  • • linker
  • • ifunc
  • • static linking
  • • relocations
discussion_id_link
—
bugzilla_pr
—
date
2026-09-05T00:00:00.000Z

This commit modifies the Alpha linker to reject attempts to take an IFUNC address from read-only data in static executables. Unlike dynamic linking where segments can be made writable, static executables mapped by the kernel cannot have their read-only segments modified at runtime. Other targets typically provide a PLT stub address in such cases, but Alpha lacks a PLT entry for non-dynamic functions, leading to an error report instead.