Landing: 457c3b91dfc6

Project / Subsystem

binutils / bfd

Date

2026-07-02

Author

Alan Modra <amodra@sourceware.org>

Commit

457c3b91dfc6bc0bf149229265ba1ddf5ac018a1

Source

public_inbox

Perf win

No

Breaking

No

All attributes

project
binutils
subsystem
bfd
patch_id
commit_hash
457c3b91dfc6bc0bf149229265ba1ddf5ac018a1
source_type
public_inbox
headline
PR 34165 Fix aarch64 TLS assertion failure
tldr
Aarch64 TLS handling in binutils now returns zero instead of asserting on missing TLS sections.
author
Alan Modra <amodra@sourceware.org>
outcome
committed
performance_win
false
breaking_change
false
series_id
series_parts
[]
tags
  • bugfix
  • aarch64
  • TLS
discussion_id_link
public_inbox:binutils#34165
bugzilla_pr
date
2026-07-02T00:00:00.000Z

This commit resolves an assertion failure in the aarch64 backend of the BFD library related to Thread Local Storage (TLS). Instead of asserting when a TLS section is NULL, the code now safely returns zero, preventing crashes and improving robustness for scenarios involving TLS.