https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85485

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2018-04-21
     Ever confirmed|0                           |1

--- Comment #2 from H.J. Lu <hjl.tools at gmail dot com> ---
(In reply to Jakub Jelinek from comment #1)
> I think it is better to keep it as alias, I think -mcet is much more
> familiar to people than -mshstk.

-mcet won't get any shadow stack protection.  -mcet/-mshstk are used to
enable SHSTK intrinsics to IMPLEMENT shadow stack, not to USE shadow stack.
To enable shadow stack protection, you need to use -fcf-protection=return.
-mcet will only lead user confusions.

Reply via email to