[Bug target/95621] Add CET(PTA_SHSTK) to march=tigerlake

2020-06-10 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95621

H.J. Lu  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |INVALID
 CC|hjl at gcc dot gnu.org |hjl.tools at gmail dot 
com

--- Comment #1 from H.J. Lu  ---
I don't think PTA_SHSTK is needed since -mshstk is only used to enable CET
in run-time library which is backward compatible.  GCC run-time libraries
are compiled with -mshstk when CET is enabled.  As for IBT, ENDBR is
generated with -fcf-protection for all processors.

The whole CET thing is backward compatible.  We don't need to add PTA_SHSTK
to Tiger Lake.

[Bug target/95621] Add CET(PTA_SHSTK) to march=tigerlake

2020-06-10 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95621

Martin Liška  changed:

   What|Removed |Added

   Last reconfirmed||2020-06-10
 Status|UNCONFIRMED |NEW
 CC||hjl at gcc dot gnu.org,
   ||marxin at gcc dot gnu.org
 Ever confirmed|0   |1