https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95621
H.J. Lu <hjl.tools at gmail dot com> 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 <hjl.tools at gmail dot com> ---
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.