]> sourceware.org Git - glibc.git/commit
hurd: i386 TLS tweaks
authorSergey Bugaev <bugaevc@gmail.com>
Tue, 14 Feb 2023 17:37:20 +0000 (20:37 +0300)
committerSamuel Thibault <samuel.thibault@ens-lyon.org>
Tue, 14 Feb 2023 19:27:11 +0000 (20:27 +0100)
commit748511f0bb61785f976e18843d707a8ba8fffe29
tree42f62a9054a9fe8c91476d67dd92bea8642d2ff1
parente7223fa1e8e0673440cc62364b67d55afc78123a
hurd: i386 TLS tweaks

* Micro-optimize TLS access using GCC's native support for gs-based
  addressing when available;
* Just use THREAD_GETMEM and THREAD_SETMEM instead of more inline
  assembly;
* Sync tcbhead_t layout with NPTL, in particular update/fix __private_ss
  offset;
* Statically assert that the two offsets that are a part of ABI are what
  we expect them to be.

Signed-off-by: Sergey Bugaev <bugaevc@gmail.com>
Message-Id: <20230214173722.428140-2-bugaevc@gmail.com>
sysdeps/mach/hurd/i386/tls.h
This page took 0.042523 seconds and 5 git commands to generate.