diff options
author | hjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4> | 2018-04-24 16:41:01 +0000 |
---|---|---|
committer | hjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4> | 2018-04-24 16:41:01 +0000 |
commit | b5359ebd7ffd861ea89e70485f7251d7984a8786 (patch) | |
tree | 9e553c374dcd209755e8b3ccfe81f145e664660a /config | |
parent | e5bed942c76a51255a5545df84daeb612d8fda28 (diff) |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@259608 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'config')
-rw-r--r-- | config/ChangeLog | 7 | ||||
-rw-r--r-- | config/cet.m4 | 2 |
2 files changed, 7 insertions, 2 deletions
diff --git a/config/ChangeLog b/config/ChangeLog index ba360e10165..02b96ffac46 100644 --- a/config/ChangeLog +++ b/config/ChangeLog @@ -1,6 +1,11 @@ +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> - * 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. 2018-04-18 David Malcolm <dmalcolm@redhat.com> diff --git a/config/cet.m4 b/config/cet.m4 index 04a0e05d2ff..b53c1bbd5cd 100644 --- a/config/cet.m4 +++ b/config/cet.m4 @@ -42,7 +42,7 @@ asm ("setssbsy"); ;; esac if test x$enable_cet = xyes; then - $1="-fcf-protection -mcet" + $1="-fcf-protection -mshstk" AC_MSG_RESULT([yes]) else AC_MSG_RESULT([no]) |