diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2024-01-10 08:48:47 -0800 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2024-01-11 20:35:24 -0800 |
commit | f2b65a44714e8fa13c7637cd9413169590795879 (patch) | |
tree | 8365442e1989ac5f3635013d4e3cfcadaba97b23 /sysdeps/x86/Makefile | |
parent | db57da5be27a0887ce5131c071e2240f5c17aae1 (diff) | |
download | glibc-f2b65a44714e8fa13c7637cd9413169590795879.tar.gz glibc-f2b65a44714e8fa13c7637cd9413169590795879.tar.xz glibc-f2b65a44714e8fa13c7637cd9413169590795879.zip |
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>
Diffstat (limited to 'sysdeps/x86/Makefile')
-rw-r--r-- | sysdeps/x86/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sysdeps/x86/Makefile b/sysdeps/x86/Makefile index bf913594c1..4d50b327b5 100644 --- a/sysdeps/x86/Makefile +++ b/sysdeps/x86/Makefile @@ -5,7 +5,11 @@ endif ifeq ($(subdir),elf) sysdep_routines += get-cpuid-feature-leaf sysdep-dl-routines += dl-get-cpu-features -sysdep_headers += sys/platform/x86.h bits/platform/x86.h +sysdep_headers += \ + bits/platform/features.h \ + bits/platform/x86.h \ + sys/platform/x86.h \ +# sysdep_headers CFLAGS-dl-get-cpu-features.os += $(rtld-early-cflags) CFLAGS-get-cpuid-feature-leaf.o += $(no-stack-protector) |