Re: [RFC PATCH] glibc: Perform rseq(2) registration at nptl init and thread creation

From: Joseph Myers
Date: Wed Sep 19 2018 - 15:49:20 EST


On Wed, 19 Sep 2018, Szabolcs Nagy wrote:

> i don't think there is precedent for exposing tls symbol in glibc
> (e.g. errno is exposed via __errno_location function) so there
> might be issues with this (but i don't have immediate concerns).

There have been suggestions to expose TLS errno - but also suggestions
that use of __errno_location is more efficient, at least in terms of code
size everywhere errno is accessed (for some ABIs, anyway).

The ABI tests have code that would list .tbss symbols as "T" in ABI test
baselines, but no existing ABI baselines use that.

--
Joseph S. Myers
joseph@xxxxxxxxxxxxxxxx