Landing: ab572c2269df

Project / Subsystem

binutils / alpha

Date

2026-09-05

Author

Sam James <sjames@sourceware.org>

Commit

ab572c2269df22364bd7fd3cd4ba7c642de5c0e6

Source

public_inbox

Perf win

No

Breaking

No

All attributes

project
binutils
subsystem
alpha
patch_id
—
commit_hash
ab572c2269df22364bd7fd3cd4ba7c642de5c0e6
source_type
public_inbox
headline
Alpha: Set DF_TEXTREL directly, avoid spurious flags
tldr
Fixes Alpha linker to correctly set DF_TEXTREL flag, preventing incorrect dynamic linking behavior.
author
Sam James <sjames@sourceware.org>
outcome
committed
performance_win
false
breaking_change
false
series_id
—
series_parts
[]
tags
  • • linker
  • • alpha
  • • ELF
  • • flags
  • • dynamic linking
discussion_id_link
—
bugzilla_pr
—
date
2026-09-05T00:00:00.000Z

This commit corrects an issue in the Alpha ELF backend where the DF_TEXTREL flag was being incorrectly set by ORing DT_TEXTREL into info->flags. This unintentionally introduced other flags like DF_SYMBOLIC and DF_STATIC_TLS, causing shared libraries with text relocations against global symbols to be treated as if linked with -Bsymbolic. This could lead to dlopen failures and incorrect relaxation of TLS references. The fix directly sets DF_TEXTREL using its correct value.