From patchwork Wed Feb 16 14:41:24 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "H.J. Lu" X-Patchwork-Id: 1593774 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.a=rsa-sha256 header.s=default header.b=tL3ovIYw; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org (client-ip=8.43.85.97; helo=sourceware.org; envelope-from=gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=) Received: from sourceware.org (ip-8-43-85-97.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4JzLJh12p5z9sFk for ; Thu, 17 Feb 2022 01:42:10 +1100 (AEDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id A896E3857C72 for ; Wed, 16 Feb 2022 14:42:07 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A896E3857C72 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1645022527; bh=biYu2Bey2W7a6JeA3pMIZKbGD13aqKw4PToBegR056g=; h=To:Subject:Date:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=tL3ovIYw9o0fFFpA/y0Z3F18WH8fDsLUMr6N+4RFuV//Hzwr4DQZ0L7bACeryrSQk pOGFQVJvAp82aQMPGdEv8ZS5qj2+RCvFo5FZE+xYgBaOfFSM9Zevhw6GqQYMthsfHF Rl+XUoUqtPYWJI65lzujUfrxEBvNFOA/G2+05VDk= X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org 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) 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 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-Patchwork-Original-From: "H.J. Lu via Gcc-patches" From: "H.J. Lu" Reply-To: "H.J. Lu" Errors-To: gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org Sender: "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).

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