mbox series

[0/4] i386: Remove remaining CET bits

Message ID 20240109193041.3987157-1-hjl.tools@gmail.com
Headers show
Series i386: Remove remaining CET bits | expand

Message

H.J. Lu Jan. 9, 2024, 7:30 p.m. UTC
1. Add sysdeps/i386/libc-start.h and move x86-64 shadow stack startup
codes to sysdeps/x86_64/libc-start.h.
2. Move dl-cet.[ch] to x86_64 directories.
3. Move check-cet.awk to x86_64.
4. i386: Remove CET support bits.

H.J. Lu (4):
  x86: Move x86-64 shadow stack startup codes
  x86-64/cet: Move dl-cet.[ch] to x86_64 directories
  x86-64/cet: Move check-cet.awk to x86_64
  i386: Remove CET support bits

 sysdeps/i386/dl-machine.h                     | 11 +--
 sysdeps/i386/dl-trampoline.S                  | 69 -------------------
 sysdeps/i386/libc-start.h                     | 25 +++++++
 sysdeps/unix/sysv/linux/x86/dl-cet.h          | 63 -----------------
 sysdeps/unix/sysv/linux/x86_64/dl-cet.h       | 49 ++++++++++++-
 sysdeps/x86/cpu-features-offsets.sym          |  2 -
 sysdeps/x86/cpu-features.c                    |  4 +-
 sysdeps/x86/ldsodefs.h                        |  1 -
 sysdeps/x86_64/Makefile                       |  4 +-
 sysdeps/{x86 => x86_64}/check-cet.awk         |  0
 sysdeps/{x86 => x86_64}/dl-cet.c              |  0
 sysdeps/{x86 => x86_64}/dl-procruntime.c      |  2 +-
 sysdeps/x86_64/dl-trampoline.S                |  1 +
 .../feature-control.h}                        |  0
 sysdeps/x86_64/features-offsets.sym           |  6 ++
 sysdeps/x86_64/ldsodefs.h                     | 26 +++++++
 sysdeps/{x86 => x86_64}/libc-start.h          |  2 +-
 17 files changed, 114 insertions(+), 151 deletions(-)
 create mode 100644 sysdeps/i386/libc-start.h
 delete mode 100644 sysdeps/unix/sysv/linux/x86/dl-cet.h
 rename sysdeps/{x86 => x86_64}/check-cet.awk (100%)
 rename sysdeps/{x86 => x86_64}/dl-cet.c (100%)
 rename sysdeps/{x86 => x86_64}/dl-procruntime.c (97%)
 rename sysdeps/{x86/cet-control.h => x86_64/feature-control.h} (100%)
 create mode 100644 sysdeps/x86_64/features-offsets.sym
 create mode 100644 sysdeps/x86_64/ldsodefs.h
 rename sysdeps/{x86 => x86_64}/libc-start.h (98%)