]> git.ipfire.org Git - thirdparty/glibc.git/commit
x86_64: Remove unused padding from tcbhead_t
authorFlorian Weimer <fweimer@redhat.com>
Thu, 19 Dec 2024 19:56:44 +0000 (20:56 +0100)
committerFlorian Weimer <fweimer@redhat.com>
Thu, 19 Dec 2024 20:21:30 +0000 (21:21 +0100)
commit30d3fd7f4f4bc8f767d73ad4e4b005c1bd234310
tree51274e32543d74107da3ecc2e7cd3ff77613e0ef
parentd7f587398cfda79a48cde94a38c4eee660781d30
x86_64: Remove unused padding from tcbhead_t

This padding is difficult to use for preserving the internal
GLIBC_PRIVATE ABI.  The comment is misleading.  Current Address
Sanitizer uses heuristics to determine struct pthread size.
It does not depend on its precise layout.  It merely scans for
pointers allocated using malloc.

Due to the removal of the padding, the assert for its start
is no longer required.

Reviewed-by: Noah Goldstein <goldstein.w.n@gmail.com>
sysdeps/x86_64/nptl/tls.h