Commit 8624f868 by H.J. Lu

x86/CET: Build target libraries with -mshstk

With revision 259522:

commit d59cfa9a4064339cf2bd2da828c4c133f13e57f0
Author: hjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>
Date:   Fri Apr 20 13:30:13 2018 +0000

    Define __CET__ for -fcf-protection and remove -mibt

-mcet becomes an alias for -mshstk.

	PR target/85485
	* cet.m4 (GCC_CET_FLAGS): Replace -mcet with -mshstk.

From-SVN: r259608
parent c61199f2
2018-04-24 H.J. Lu <hongjiu.lu@intel.com>
PR target/85485
* cet.m4 (GCC_CET_FLAGS): Replace -mcet with -mshstk.
2018-04-19 Jakub Jelinek <jakub@redhat.com> 2018-04-19 Jakub Jelinek <jakub@redhat.com>
* config/cet.m4 (GCC_CET_FLAGS): Default to --disable-cet, replace * cet.m4 (GCC_CET_FLAGS): Default to --disable-cet, replace
--enable-cet=default with --enable-cet=auto. --enable-cet=default with --enable-cet=auto.
2018-04-18 David Malcolm <dmalcolm@redhat.com> 2018-04-18 David Malcolm <dmalcolm@redhat.com>
......
...@@ -42,7 +42,7 @@ asm ("setssbsy"); ...@@ -42,7 +42,7 @@ asm ("setssbsy");
;; ;;
esac esac
if test x$enable_cet = xyes; then if test x$enable_cet = xyes; then
$1="-fcf-protection -mcet" $1="-fcf-protection -mshstk"
AC_MSG_RESULT([yes]) AC_MSG_RESULT([yes])
else else
AC_MSG_RESULT([no]) AC_MSG_RESULT([no])
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment