From mboxrd@z Thu Jan 1 00:00:00 1970
Return-Path:
Received: from mail-ej1-x632.google.com (mail-ej1-x632.google.com
[IPv6:2a00:1450:4864:20::632])
by sourceware.org (Postfix) with ESMTPS id 987BB3858431
for ; Thu, 17 Feb 2022 09:40:08 +0000 (GMT)
DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 987BB3858431
Received: by mail-ej1-x632.google.com with SMTP id qx21so5701846ejb.13
for ; Thu, 17 Feb 2022 01:40:08 -0800 (PST)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20210112;
h=x-gm-message-state:mime-version:references:in-reply-to:from:date
:message-id:subject:to:cc;
bh=po+Co4Xwd63hqx+tvmo0xb6ORDTjJM5JGC3SgLjXVWc=;
b=oTNhX9dFG0mxyzqeRuCnNnNY6N8gUVlJttfvFYaZmG9X3uRQN+RZnOHPtklJOVSgzP
c+3cyYhmVttm6O1S5Ku0NCksJbnJd+8iMfKtnRZtn4tyvSOm3RR2Uy7wAHZmruSbxyaZ
iw4pNDLZuTQR+3iGRUiCHFhFCnH5se34yUTOo2XurUT/mqb2Swx8LzD199wn4tFaXP8R
Ox4xq+OVV35UariAmyG/nmw4kB4zdB4SM2ubx+nZDPMQ2EWwSgjiuofpEphVxBYHNAN4
xHil8L5Zx6QHbFIdIxX+voiCBdtykvtE4xMwadIw4h5jBQZyIXT+RMROpijebtqpZ9AV
9KcQ==
X-Gm-Message-State: AOAM5323F3oC6/oF1qVrIuWZPJQBye3aHKnvfplLw3g8I+gDg7TX3CPt
B7czcMWnkeTHGN/fs8g+sN7D8P1Oa+f5hQ9UT9I=
X-Google-Smtp-Source: ABdhPJyT/S57KIIQMIaWKhPm2OliXStJ5nDs8/1ZDte9noqQVIpSxhEnfIz08baTDnyvTc89lIn9wWlIAEBCUUV8Z/M=
X-Received: by 2002:a17:907:6e01:b0:6d0:562c:e389 with SMTP id
sd1-20020a1709076e0100b006d0562ce389mr1627811ejc.497.1645090807335; Thu, 17
Feb 2022 01:40:07 -0800 (PST)
MIME-Version: 1.0
References: <20220216144124.69012-1-hjl.tools@gmail.com>
In-Reply-To: <20220216144124.69012-1-hjl.tools@gmail.com>
From: Richard Biener
Date: Thu, 17 Feb 2022 10:39:55 +0100
Message-ID:
Subject: Re: [wwwdocs PATCH] gcc-11.3: Mention -mharden-sls= and
-mindirect-branch-cs-prefix
To: "H.J. Lu"
Cc: GCC Patches
Content-Type: text/plain; charset="UTF-8"
X-Spam-Status: No, score=-8.7 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, GIT_PATCH_0,
RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP,
T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4
X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on
server2.sourceware.org
X-BeenThere: gcc-patches@gcc.gnu.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Gcc-patches mailing list
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
X-List-Received-Date: Thu, 17 Feb 2022 09:40:10 -0000
On Wed, Feb 16, 2022 at 3:42 PM H.J. Lu via Gcc-patches
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).
> no longer changes how they are passed nor returned. This ABI change
> is now diagnosed with -Wpsabi
.
>
> + Mitigation against straight line speculation (SLS) for function
> + return and indirect jump is supported via
> + -mharden-sls=[none|all|return|indirect-jmp]
.
> +
> + Add CS prefix to call and jmp to indirect thunk with branch target
> + in r8-r15 registers via -mindirect-branch-cs-prefix
.
> +
>
>
>