From patchwork Tue Feb 22 10:11:06 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Sandiford X-Patchwork-Id: 51284 Return-Path: X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 0F6B3385781A for ; Tue, 22 Feb 2022 10:11:37 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 0F6B3385781A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1645524697; bh=GW9LkfanqqRIfth5dt2J4bjSoFs/aSaqff/YqR9sGaQ=; h=To:Subject:Date:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=lNMUSSxcBswaQLBxxzfC1sq+VJ1tGjgHp5GdA02Sae34bqHiSa6VWq/D+LUTDZtwV uxQ1dzyD69hyLJ//101eIdCG/N7Ac6OaRNggYobAVJH8z/eLZ0WQjpDs69efjwC3lr UimkZ3ftyIWK1PTz4JlNNWdmLfS8AyJtA2RUrNcU= X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by sourceware.org (Postfix) with ESMTP id D45023857C67 for ; Tue, 22 Feb 2022 10:11:08 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org D45023857C67 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 7A74B106F; Tue, 22 Feb 2022 02:11:08 -0800 (PST) Received: from localhost (unknown [10.32.98.88]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id F05CD3F5A1; Tue, 22 Feb 2022 02:11:07 -0800 (PST) To: gcc-patches@gcc.gnu.org Mail-Followup-To: gcc-patches@gcc.gnu.org, gerald@pfeifer.com, richard.sandiford@arm.com Subject: [PATCH] wwwdocs: Document ShadowCallStack support Date: Tue, 22 Feb 2022 10:11:06 +0000 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 X-Spam-Status: No, score=-12.4 required=5.0 tests=BAYES_00, GIT_PATCH_0, KAM_DMARC_STATUS, KAM_SHORT, 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: Richard Sandiford via Gcc-patches From: Richard Sandiford Reply-To: Richard Sandiford Errors-To: gcc-patches-bounces+patchwork=sourceware.org@gcc.gnu.org Sender: "Gcc-patches" Document ShadowCallStack support. The option link doesn't work yet of course, but I checked that it works with gcc-12.1.0/ removed. OK to install? Thanks, Richard --- htdocs/gcc-12/changes.html | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/htdocs/gcc-12/changes.html b/htdocs/gcc-12/changes.html index b6341fda..216ee0b6 100644 --- a/htdocs/gcc-12/changes.html +++ b/htdocs/gcc-12/changes.html @@ -96,6 +96,17 @@ a work-in-progress.

Note that default vectorizer cost model has been changed which used to behave as -fvect-cost-model=cheap were specified. +
  • + GCC now supports the + + ShadowCallStack sanitizer, which can be enabled using the + command-line option + + -fshadow-call-stack. This sanitizer currently + only works on AArch64 targets and it requires an environment in + which all code has been compiled with -ffixed-r18. + Its primary initial user is the Linux kernel. +