]> git.ipfire.org Git - thirdparty/glibc.git/commit
i386: Remove CET support bits
authorH.J. Lu <hjl.tools@gmail.com>
Tue, 9 Jan 2024 20:23:27 +0000 (12:23 -0800)
committerH.J. Lu <hjl.tools@gmail.com>
Tue, 19 Aug 2025 22:39:23 +0000 (15:39 -0700)
commit0ca425964e45935240a6cf2822aa5ec61ede98bc
treeb3c6a080affebd05e048d6eaac428b0ef822e9e2
parent90ee4db1bfaafa5892ef52273719cb10178a750b
i386: Remove CET support bits

1. Remove _dl_runtime_resolve_shstk and _dl_runtime_profile_shstk.
2. Move CET offsets from x86 cpu-features-offsets.sym to x86-64
features-offsets.sym.
3. Rename x86 cet-control.h to x86-64 feature-control.h since it is only
for x86-64 and also used for PLT rewrite.
4. Add x86-64 ldsodefs.h to include feature-control.h.
5. Change TUNABLE_CALLBACK (set_plt_rewrite) to x86-64 only.
6. Move x86 dl-procruntime.c to x86-64.
Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
(cherry picked from commit 874214db624a8e6c5d2dbe47419fab126f330d68)
sysdeps/i386/dl-machine.h
sysdeps/i386/dl-trampoline.S
sysdeps/unix/sysv/linux/x86_64/dl-cet.h
sysdeps/x86/cpu-features-offsets.sym
sysdeps/x86/ldsodefs.h
sysdeps/x86_64/Makefile
sysdeps/x86_64/dl-procruntime.c [moved from sysdeps/x86/dl-procruntime.c with 94% similarity]
sysdeps/x86_64/dl-trampoline.S
sysdeps/x86_64/feature-control.h [moved from sysdeps/x86/cet-control.h with 90% similarity]
sysdeps/x86_64/features-offsets.sym [new file with mode: 0644]
sysdeps/x86_64/ldsodefs.h [new file with mode: 0644]