about summary refs log tree commit diff
path: root/INSTALL
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2024-01-03 12:09:23 -0800
committerH.J. Lu <hjl.tools@gmail.com>2024-01-04 06:08:55 -0800
commitbbfb54930cdd85269504a34b362e77a3ac2a207a (patch)
tree1e6790858eae27d2762760ca2a3315db2afa8f17 /INSTALL
parent0d4a2f3576ebd92ca0001645a533bf70289f264e (diff)
downloadglibc-bbfb54930cdd85269504a34b362e77a3ac2a207a.tar.gz
glibc-bbfb54930cdd85269504a34b362e77a3ac2a207a.tar.xz
glibc-bbfb54930cdd85269504a34b362e77a3ac2a207a.zip
i386: Ignore --enable-cet
Since shadow stack is only supported for x86-64, ignore --enable-cet for
i386.  Always setting $(enable-cet) for i386 to "no" to support

ifneq ($(enable-cet),no)

in x86 Makefiles.  We can't use

ifeq ($(enable-cet),yes)

since $(enable-cet) can be "yes", "no" or "permissive".
Reviewed-by: Adhemerval Zanella  <adhemerval.zanella@linaro.org>
Diffstat (limited to 'INSTALL')
-rw-r--r--INSTALL19
1 files changed, 8 insertions, 11 deletions
diff --git a/INSTALL b/INSTALL
index afd88dc5b1..be3697c62f 100644
--- a/INSTALL
+++ b/INSTALL
@@ -141,17 +141,14 @@ if ‘CFLAGS’ is specified it must enable optimization.  For example:
      indirect branch tracking (IBT) and shadow stack (SHSTK).  When CET
      is enabled, the GNU C Library is compatible with all existing
      executables and shared libraries.  This feature is currently
-     supported on i386, x86_64 and x32 with GCC 8 and binutils 2.29 or
-     later.  Note that when CET is enabled, the GNU C Library requires
-     CPUs capable of multi-byte NOPs, like x86-64 processors as well as
-     Intel Pentium Pro or newer.  With ‘--enable-cet’, it is an error to
-     dlopen a non CET enabled shared library in CET enabled application.
-     With ‘--enable-cet=permissive’, CET is disabled when dlopening a
-     non CET enabled shared library in CET enabled application.
-
-     NOTE: ‘--enable-cet’ has been tested for i686, x86_64 and x32 on
-     non-CET processors.  ‘--enable-cet’ has been tested for i686,
-     x86_64 and x32 on CET processors.
+     supported on x86_64 and x32 with GCC 8 and binutils 2.29 or later.
+     With ‘--enable-cet’, it is an error to dlopen a non CET enabled
+     shared library in CET enabled application.  With
+     ‘--enable-cet=permissive’, CET is disabled when dlopening a non CET
+     enabled shared library in CET enabled application.
+
+     NOTE: ‘--enable-cet’ has been tested for x86_64 and x32 on non-CET
+     and CET processors.
 
 ‘--enable-memory-tagging’
      Enable memory tagging support if the architecture supports it.