MPX is going to be deprecated in gcc-8. Control-flow protection support is in
Reflect these in Release Notes for gcc-8.
Ok for trunk?
RCS file: /cvs/gcc/wwwdocs/htdocs/gcc-8/changes.html,v
retrieving revision 1.36
diff -r1.36 changes.html
> The MPX extensions to the C and C++ languages have been deprecated and
> will be removed in a future release.
> A new option <code>-fcf-protection=[full|branch|return|none]</code> is
> introduced to perform a code instrumentation to increase program security
> checking that target addresses of control-flow transfer instructions
> (such as
> indirect function call, function return, indirect jump) are valid.
> the instrumentation is supported on x86 GNU/Linux target only. See, the
> guide for further information about the option syntax and section "New
> and Target Specific Improvements" for IA-32/x86-64 for more details.
> GCC now supports the Intel Control-flow Enforcement Technology (CET)
> extension through <code>-mibt, -mshstk, -mcet</code> options. One of these
> options has to accompany the <code>-fcf-protection</code> option to enable
> the code instrumentation for control-flow protection.