Check if host supports multi-byte NOPs before enabling CET on host.
This fixes:

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99703

H.J. Lu (2):
  GCC_CET_HOST_FLAGS: Check if host supports multi-byte NOPs
  GCC_CET_HOST_FLAGS: Check if host supports multi-byte NOPs

 config/cet.m4          | 19 +++++++++++--
 gcc/configure          | 45 +++++++++++++++++++++---------
 libbacktrace/configure | 29 +++++++++++++++++++
 libcc1/configure       | 45 +++++++++++++++++++++---------
 libcpp/configure       | 29 +++++++++++++++++++
 libdecnumber/configure | 29 +++++++++++++++++++
 libiberty/configure    | 29 +++++++++++++++++++
 lto-plugin/configure   | 63 +++++++++++++++++++++++++++++++-----------
 8 files changed, 243 insertions(+), 45 deletions(-)

-- 
2.30.2

Reply via email to