glibc/sysdeps
Florian Weimer 145097dff1 x86: Use separate variable for TLSDESC XSAVE/XSAVEC state size (bug 32810)
Previously, the initialization code reused the xsave_state_full_size
member of struct cpu_features for the TLSDESC state size.  However,
the tunable processing code assumes that this member has the
original XSAVE (non-compact) state size, so that it can use its
value if XSAVEC is disabled via tunable.

This change uses a separate variable and not a struct member because
the value is only needed in ld.so and the static libc, but not in
libc.so.  As a result, struct cpu_features layout does not change,
helping a future backport of this change.

Fixes commit 9b7091415a ("x86-64:
Update _dl_tlsdesc_dynamic to preserve AMX registers").

Reviewed-by: H.J. Lu <hjl.tools@gmail.com>
2025-03-29 09:17:38 +01:00
..
aarch64 AArch64: Optimize algorithm in users of SVE expf helper 2025-03-18 17:15:18 +00:00
alpha math: Refactor how to use libm-test-ulps 2025-03-12 13:40:07 -03:00
arc math: Refactor how to use libm-test-ulps 2025-03-12 13:40:07 -03:00
arm math: Refactor how to use libm-test-ulps 2025-03-12 13:40:07 -03:00
csky math: Refactor how to use libm-test-ulps 2025-03-12 13:40:07 -03:00
generic Implement C23 pown 2025-03-27 10:44:44 +00:00
gnu
hppa math: Refactor how to use libm-test-ulps 2025-03-12 13:40:07 -03:00
htl htl: Make pthread_setcanceltype / state a cancellation point 2025-03-15 19:45:55 +00:00
hurd hurd: Consolidate signal mask change 2025-03-06 02:28:35 +01:00
i386 math: Refactor how to use libm-test-ulps 2025-03-12 13:40:07 -03:00
ieee754 stdio-common: Reject real data w/o exponent digits in scanf [BZ #12701] 2025-03-28 12:35:53 +00:00
loongarch Implement C23 pown 2025-03-27 10:44:44 +00:00
m68k math: Refactor how to use libm-test-ulps 2025-03-12 13:40:07 -03:00
mach Implement C23 pown 2025-03-27 10:44:44 +00:00
microblaze math: Refactor how to use libm-test-ulps 2025-03-12 13:40:07 -03:00
mips math: Refactor how to use libm-test-ulps 2025-03-12 13:40:07 -03:00
nptl aio_suspend64: Fix clock discrepancy [BZ #32795] 2025-03-25 01:05:11 +01:00
or1k math: Refactor how to use libm-test-ulps 2025-03-12 13:40:07 -03:00
posix
powerpc math: Refactor how to use libm-test-ulps 2025-03-12 13:40:07 -03:00
pthread tst-fopen-threaded: Only check EOF for failing read 2025-03-14 12:28:05 -04:00
riscv math: Refactor how to use libm-test-ulps 2025-03-12 13:40:07 -03:00
s390 math: Refactor how to use libm-test-ulps 2025-03-12 13:40:07 -03:00
sh math: Refactor how to use libm-test-ulps 2025-03-12 13:40:07 -03:00
sparc math: Refactor how to use libm-test-ulps 2025-03-12 13:40:07 -03:00
unix Implement C23 pown 2025-03-27 10:44:44 +00:00
wordsize-32 stdio-common: Reject integer prefixes in scanf [BZ #12701] 2025-03-28 12:35:53 +00:00
wordsize-64 stdio-common: Reject integer prefixes in scanf [BZ #12701] 2025-03-28 12:35:53 +00:00
x86 x86: Use separate variable for TLSDESC XSAVE/XSAVEC state size (bug 32810) 2025-03-29 09:17:38 +01:00
x86_64 x86: Use separate variable for TLSDESC XSAVE/XSAVEC state size (bug 32810) 2025-03-29 09:17:38 +01:00