Landing: 5dd77fc95236

Project / Subsystem

binutils / alpha

Date

2026-05-27

Author

Alan Modra

Commit

5dd77fc95236da16036d9cbbe0e6f53f0ad7ac3b

Source

public_inbox

Perf win

No

Breaking

No

All attributes

project
binutils
subsystem
alpha
patch_id
commit_hash
5dd77fc95236da16036d9cbbe0e6f53f0ad7ac3b
source_type
public_inbox
headline
Alpha: Properly handle local weak undefined symbols
tldr
The linker now correctly handles local weak undefined symbols on Alpha, fixing a runtime error.
author
Alan Modra
outcome
committed
performance_win
false
breaking_change
false
series_id
series_parts
[]
tags
  • alpha
  • linker
  • weak symbol
  • undefined symbol
  • asan
discussion_id_link
bugzilla_pr
date
2026-05-27T00:00:00.000Z

AddressSanitizer (ASan) reported a runtime error due to a null pointer dereference when handling local weak undefined symbols in the Alpha linker. This commit fixes the error by adding a null check before accessing the symbol’s properties, resolving the ASan complaint and fixing TLS-related linking failures. This prevents crashes and ensures correct linking behavior in specific scenarios involving weak symbols and TLS.