Landing: ffea43122dc5

Project / Subsystem

binutils / alpha

Date

2026-05-24

Author

H.J. Lu <hjl@sourceware.org>

Commit

ffea43122dc5deaea75374bd2bd928d1d4182f67

Source

public_inbox

Perf win

No

Breaking

No

All attributes

project
binutils
subsystem
alpha
patch_id
commit_hash
ffea43122dc5deaea75374bd2bd928d1d4182f67
source_type
public_inbox
headline
Alpha: Properly handle local weak undefined symbols.
tldr
The linker no longer overflows when relocating local weak undefined TLS symbols on Alpha.
author
H.J. Lu <hjl@sourceware.org>
outcome
committed
performance_win
false
breaking_change
false
series_id
series_parts
[]
tags
  • linker
  • alpha
  • tls
  • relocation
discussion_id_link
bugzilla_pr
date
2026-05-24T00:00:00.000Z

The Alpha backend now handles local weak undefined TLS symbols correctly, avoiding relocation overflows by setting their value to 0. When all TLS symbols are weak, hidden, and undefined, the code now sets dtp_base and tp_base to 0, and no longer asserts that elf_hash_table (info)->tls_sec is not NULL. New test cases were added.