Landing: 97d9016b230c

Project / Subsystem

gcc / aarch64

Date

2026-07-02

Author

Srinath Parvathaneni

Commit

97d9016b230cca98a2d5fa1baa8af59bf96357df

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
aarch64
patch_id
commit_hash
97d9016b230cca98a2d5fa1baa8af59bf96357df
source_type
github
headline
aarch64: Fix TLS debuginfo missing location info [PR97344]
tldr
Debug info for Thread-Local Storage (TLS) variables on AArch64 now includes location information.
author
Srinath Parvathaneni
outcome
committed
performance_win
false
breaking_change
false
series_id
series_parts
[]
tags
  • aarch64
  • debugging
  • tls
discussion_id_link
bugzilla_pr
date
2026-07-02T00:00:00.000Z

This patch resolves an issue where debug information for Thread-Local Storage (TLS) variables on AArch64 was missing location details. It introduces the assembler directive “.xword %dtprel(symbol)” to emit the necessary DW_AT_location information. To ensure compatibility with older assemblers, a configure check is added to conditionally apply this fix only if the assembler supports the new directive.