]> git.ipfire.org Git - thirdparty/glibc.git/commit - sysdeps/x86/Makefile
x86-64/cet: Make CET feature check specific to Linux/x86
authorH.J. Lu <hjl.tools@gmail.com>
Wed, 10 Jan 2024 16:48:47 +0000 (08:48 -0800)
committerH.J. Lu <hjl.tools@gmail.com>
Fri, 12 Jan 2024 04:35:24 +0000 (20:35 -0800)
commitf2b65a44714e8fa13c7637cd9413169590795879
tree8365442e1989ac5f3635013d4e3cfcadaba97b23
parentdb57da5be27a0887ce5131c071e2240f5c17aae1
x86-64/cet: Make CET feature check specific to Linux/x86

CET feature bits in TCB, which are Linux specific, are used to check if
CET features are active.  Move CET feature check to Linux/x86 directory.
Reviewed-by: Noah Goldstein <goldstein.w.n@gmail.com>
sysdeps/unix/sysv/linux/x86/bits/platform/features.h [new file with mode: 0644]
sysdeps/unix/sysv/linux/x86_64/dl-cet.h
sysdeps/unix/sysv/linux/x86_64/get-cpuid-feature-leaf.c [new file with mode: 0644]
sysdeps/x86/Makefile
sysdeps/x86/bits/platform/features.h [new file with mode: 0644]
sysdeps/x86/bits/platform/x86.h
sysdeps/x86/get-cpuid-feature-leaf.c
sysdeps/x86/sys/platform/x86.h
sysdeps/x86_64/dl-machine.h