Message ID | 20220216144124.69012-1-hjl.tools@gmail.com |
---|---|
State | New |
Headers | show |
Series | [wwwdocs] gcc-11.3: Mention -mharden-sls= and -mindirect-branch-cs-prefix | expand |
On Wed, Feb 16, 2022 at 3:42 PM H.J. Lu via Gcc-patches <gcc-patches@gcc.gnu.org> wrote: OK. > --- > htdocs/gcc-11/changes.html | 7 +++++++ > 1 file changed, 7 insertions(+) > > diff --git a/htdocs/gcc-11/changes.html b/htdocs/gcc-11/changes.html > index fbd1b8ba..8e6d4ec8 100644 > --- a/htdocs/gcc-11/changes.html > +++ b/htdocs/gcc-11/changes.html > @@ -1129,6 +1129,13 @@ are not listed here).</p> > no longer changes how they are passed nor returned. This ABI change > is now diagnosed with <code>-Wpsabi</code>. > </li> > + <li>Mitigation against straight line speculation (SLS) for function > + return and indirect jump is supported via > + <code>-mharden-sls=[none|all|return|indirect-jmp]</code>. > + </li> > + <li>Add CS prefix to call and jmp to indirect thunk with branch target > + in r8-r15 registers via <code>-mindirect-branch-cs-prefix</code>. > + </li> > </ul> > > </body> > -- > 2.35.1 >
diff --git a/htdocs/gcc-11/changes.html b/htdocs/gcc-11/changes.html index fbd1b8ba..8e6d4ec8 100644 --- a/htdocs/gcc-11/changes.html +++ b/htdocs/gcc-11/changes.html @@ -1129,6 +1129,13 @@ are not listed here).</p> no longer changes how they are passed nor returned. This ABI change is now diagnosed with <code>-Wpsabi</code>. </li> + <li>Mitigation against straight line speculation (SLS) for function + return and indirect jump is supported via + <code>-mharden-sls=[none|all|return|indirect-jmp]</code>. + </li> + <li>Add CS prefix to call and jmp to indirect thunk with branch target + in r8-r15 registers via <code>-mindirect-branch-cs-prefix</code>. + </li> </ul> </body>