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

Torbjorn SVENSSON <[email protected]>
Newsgroups gmane.comp.gnu.binutils
Message-ID <[email protected]>

On 2026-08-29 09:35, Alan Modra wrote:
> On Fri, Aug 28, 2026 at 03:10:09PM +0200, Torbjorn SVENSSON wrote:
>>> Bare-metal ARM EABI programs allocate TLS storage directly, so if .tdata
>>> consumses VMA, then .tbss must also do so.  Otherwise, a following
>>> section such as .bss can overlap it.
> 
> In other words, the loader is broken for TLS.  Why break the linker as
> well?
> 

What loader?
I'm taking about bare-metal, i.e. there is nothing doing any loading.
The CPU is executing straight from flash without any ram copy of the
program or similar loader activities that normally exist on a pc.

Kind regards,
Torbjörn
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.