From mboxrd@z Thu Jan 1 00:00:00 1970
Return-Path:
Received: from mail-pl1-x62d.google.com (mail-pl1-x62d.google.com
[IPv6:2607:f8b0:4864:20::62d])
by sourceware.org (Postfix) with ESMTPS id CAA613858C20
for ; Wed, 16 Feb 2022 14:41:26 +0000 (GMT)
DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org CAA613858C20
Received: by mail-pl1-x62d.google.com with SMTP id u5so2172014ple.3
for ; Wed, 16 Feb 2022 06:41:26 -0800 (PST)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20210112;
h=x-gm-message-state:from:to:subject:date:message-id:mime-version
:content-transfer-encoding;
bh=biYu2Bey2W7a6JeA3pMIZKbGD13aqKw4PToBegR056g=;
b=MTsOmJCW+hO9u1rKie6UUJuwypKwuZMEuTbmjraCwXVKtOVGM1rIsJVl8JOreGox87
5ETap9Ho4IXzWVo9sQ4uyraAWlyFff5hqrdae+ze3wFXaGhjiW7lX6McCLfh/QeY9cbB
W/8JbSDJq2GwsYUY6cG/d4kYBMnP79Gq6mUVAQUmvh0vgYSh8YPOt1LaFT1ueXXvQ7k1
wEo5o4D08JiidBMNtFaaoa8Ln31L9076tOEdIteem37hPpngVNF7kLJrEv/W8rQQaOS0
OIxBPtvWahlH8weNR4ld4zZp6TgGN4ov4KdqEM654WrHbk5lYwttuH+S603uYoif7Chi
T52A==
X-Gm-Message-State: AOAM530pm8i7qhObPaMwP5+sZBrN/7lUtC5ququ/KMZe88mRdlAvNsH6
GBjk3kTxDEgLEtmVkka6H+e6bYHb8o0=
X-Google-Smtp-Source: ABdhPJyFIEh4WQeMQoB+B7pJiOxS5R68YS0WM8gqPLJc2o8XIlmfD7647EcyuZhyzxezcSXC2CIqQQ==
X-Received: by 2002:a17:902:d508:b0:14f:332f:6c72 with SMTP id
b8-20020a170902d50800b0014f332f6c72mr2619033plg.109.1645022485636;
Wed, 16 Feb 2022 06:41:25 -0800 (PST)
Received: from gnu-tgl-3.localdomain ([172.58.38.240])
by smtp.gmail.com with ESMTPSA id t200sm10477941pfc.35.2022.02.16.06.41.25
for
(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
Wed, 16 Feb 2022 06:41:25 -0800 (PST)
Received: from gnu-tgl-3.. (localhost [IPv6:::1])
by gnu-tgl-3.localdomain (Postfix) with ESMTP id 6B450C043A
for ; Wed, 16 Feb 2022 06:41:24 -0800 (PST)
From: "H.J. Lu"
To: gcc-patches@gcc.gnu.org
Subject: [wwwdocs PATCH] gcc-11.3: Mention -mharden-sls= and
-mindirect-branch-cs-prefix
Date: Wed, 16 Feb 2022 06:41:24 -0800
Message-Id: <20220216144124.69012-1-hjl.tools@gmail.com>
X-Mailer: git-send-email 2.35.1
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-Spam-Status: No, score=-3029.3 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: Wed, 16 Feb 2022 14:41:28 -0000
---
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
.
+