]> git.ipfire.org Git - thirdparty/gcc.git/commit
testsuite - improve check_effective_target_cet.
authoriains <iains@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 16 May 2019 08:36:05 +0000 (08:36 +0000)
committeriains <iains@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 16 May 2019 08:36:05 +0000 (08:36 +0000)
commit95e989c55b22217184088807321fd19c6064772f
tree720934147f51c677d8b5ba7b674cacb0679169d8
parentbfcba496001db2110ed49107d567cfca72b6f4ad
testsuite - improve check_effective_target_cet.

In some cases the test using setssbsy was not enough to
detemine support for the CET insns.  Adding -fcf-protection
explicitly causes other insns to be emitted (e.g. endbr32/64)
which are a more complete check.

2019-05-16  Iain Sandoe  <iain@sandoe.co.uk>

* lib/target-supports.exp (check_effective_target_cet): Add the
-fcf-protection flag to the build conditions.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@271282 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/testsuite/ChangeLog
gcc/testsuite/lib/target-supports.exp