Skip to content

Commit

Permalink
x86/CET: Build target libraries with -mshstk
Browse files Browse the repository at this point in the history
With revision 259522:

commit d59cfa9
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
  • Loading branch information
hjl committed Apr 24, 2018
1 parent e5bed94 commit b5359eb
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
7 changes: 6 additions & 1 deletion config/ChangeLog
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
2018-04-24 H.J. Lu <[email protected]>

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

2018-04-19 Jakub Jelinek <[email protected]>

* 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 <[email protected]>
Expand Down
2 changes: 1 addition & 1 deletion config/cet.m4
Original file line number Diff line number Diff line change
Expand Up @@ -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])
Expand Down

0 comments on commit b5359eb

Please sign in to comment.