[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Tinycc-devel] Thread-local storage?
From: |
Michael Matz |
Subject: |
Re: [Tinycc-devel] Thread-local storage? |
Date: |
Wed, 4 Sep 2019 15:37:06 +0000 (UTC) |
User-agent: |
Alpine 2.21 (LSU 202 2017-01-01) |
Hi,
On Wed, 4 Sep 2019, Steffen Nurpmeso wrote:
> Since i know you are an expert here, may i ask if Ulrich Drepper's
> "ELF Handling For Thread-Local Storage" version 0.20 still "the
> document to know" regarding TLS?
Version 0.21, but yes. Since then a couple new architectures came out
that aren't covered by that document (aarch64, risc-v, ppc64le come to
mind), but they all use one of the two models from therein, and are
usually described in their respective psABI documents. But the basic
handling of all TLS on Linux is fairly similar on all these architectures
(also because these models are what gcc and glibc implements, and
therefore is the easiest path to success for new architectures).
Ciao,
Michael.