]> git.ipfire.org Git - thirdparty/glibc.git/commit
x86-64: Save APX registers in ld.so trampoline
authorH.J. Lu <hjl.tools@gmail.com>
Fri, 16 Feb 2024 15:17:10 +0000 (07:17 -0800)
committerH.J. Lu <hjl.tools@gmail.com>
Mon, 1 Apr 2024 17:38:15 +0000 (10:38 -0700)
commit7fc8242bf87828c935ac5df5cafb9dc7ab635fd9
tree6798ea4de121f13aca5073abb1acb162212d91f0
parent983f34a1252de3ca6f2305c211d86530ea42010e
x86-64: Save APX registers in ld.so trampoline

Add APX registers to STATE_SAVE_MASK so that APX registers are saved in
ld.so trampoline.  This fixes BZ #31371.

Also update STATE_SAVE_OFFSET and STATE_SAVE_MASK for i386 which will
be used by i386 _dl_tlsdesc_dynamic.
Reviewed-by: Noah Goldstein <goldstein.w.n@gmail.com>
(cherry picked from commit dfb05f8e704edac70db38c4c8ee700769d91a413)
sysdeps/x86/sysdep.h