public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [wwwdocs PATCH] gcc-11.3: Mention -mharden-sls= and -mindirect-branch-cs-prefix
@ 2022-02-16 14:41 H.J. Lu
  2022-02-17  9:39 ` Richard Biener
  0 siblings, 1 reply; 2+ messages in thread
From: H.J. Lu @ 2022-02-16 14:41 UTC (permalink / raw)
  To: gcc-patches

---
 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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [wwwdocs PATCH] gcc-11.3: Mention -mharden-sls= and -mindirect-branch-cs-prefix
  2022-02-16 14:41 [wwwdocs PATCH] gcc-11.3: Mention -mharden-sls= and -mindirect-branch-cs-prefix H.J. Lu
@ 2022-02-17  9:39 ` Richard Biener
  0 siblings, 0 replies; 2+ messages in thread
From: Richard Biener @ 2022-02-17  9:39 UTC (permalink / raw)
  To: H.J. Lu; +Cc: GCC Patches

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
>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-02-17  9:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-16 14:41 [wwwdocs PATCH] gcc-11.3: Mention -mharden-sls= and -mindirect-branch-cs-prefix H.J. Lu
2022-02-17  9:39 ` Richard Biener

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).