[PING]: [PATCH] ld: Account for .tbss size on ARM EABI targets

Project / Subsystem

binutils / binutils

Date

2026-08-28

Proposer

Torbjorn SVENSSON <torbjorn.svensson@foss.st.com>

Source type

public_inbox

Consensus

Under Review

Sentiment

5/10

Technical tradeoffs

  • • Aligns binutils behavior with LLVM lld for consistency.
  • • Introduces a new linker configuration option (`tls_nobits_occupies_vma`).

All attributes

project
binutils
subsystem
binutils
patch_id
—
discussion_id
20260818093446.3434913-1-torbjorn.svensson@foss.st.com
source_type
public_inbox
title
[PING]: [PATCH] ld: Account for .tbss size on ARM EABI targets
headline
ld: Account for .tbss size on ARM EABI targets
tldr
A patch to the GNU linker (ld) ensures correct accounting for .tbss section size on ARM EABI targets, aligning behavior with LLVM's lld.
proposer
Torbjorn SVENSSON <torbjorn.svensson@foss.st.com>
consensus
Under Review
outcome
under_review
sentiment_score
5
technical_tradeoffs
  • • Aligns binutils behavior with LLVM lld for consistency.
  • • Introduces a new linker configuration option (`tls_nobits_occupies_vma`).
series_id
—
series_role
reply
series_parts
[]
tags
  • • linker
  • • binutils
  • • ARM
  • • TLS
  • • bare-metal
bugzilla_url
—
date
2026-08-28T00:00:00.000Z

[PING]: [PATCH] ld: Account for .tbss size on ARM EABI targets

Torbjörn Svensson is pinging for feedback on a patch that addresses how the GNU linker accounts for the size of the .tbss section on ARM EABI targets. The patch ensures that .tbss occupies virtual memory address space if .tdata does, preventing potential overlaps with subsequent sections like .bss. This change aims to align binutils behavior with LLVM’s lld and includes new test cases for various linking scenarios.