From patchwork Thu Oct 21 16:47:22 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "H.J. Lu" X-Patchwork-Id: 1544497 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=LVxWBIZY; 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 (server2.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 4HZtk12dwPz9sPB for ; Fri, 22 Oct 2021 03:49:29 +1100 (AEDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 1C0423857C65 for ; Thu, 21 Oct 2021 16:49:27 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 1C0423857C65 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1634834967; bh=L3USyBZ+i0IQhPlSCKXdLWqb9ew9JHqKuK34B3CSksY=; h=To:Subject:Date:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=LVxWBIZY5/K7wm8PbjwOlzO/OyeG07pU6pl6zTZfLUt5pyd5U23YeT6X1NBXy2kOC 0gwNiHuXIsgL0mfqzSpKJIYMjMVbgxElGdTXMd7wFdT2fRuJXIra8UwFCu0RwMLJSv TXgB71mlSeE3c/sGqGAWDvR61RWXEfNCqpmzR0xU= X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mail-pj1-x1033.google.com (mail-pj1-x1033.google.com [IPv6:2607:f8b0:4864:20::1033]) by sourceware.org (Postfix) with ESMTPS id 18FD03857C5D for ; Thu, 21 Oct 2021 16:47:25 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 18FD03857C5D Received: by mail-pj1-x1033.google.com with SMTP id ls14-20020a17090b350e00b001a00e2251c8so967124pjb.4 for ; Thu, 21 Oct 2021 09:47:25 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=L3USyBZ+i0IQhPlSCKXdLWqb9ew9JHqKuK34B3CSksY=; b=liicGBePrA53tycB1Kxwq5/fMXCGmQkO0+z2KZ0bulqIRuPuWwJgpL5r53DBFdgcSa pAcpuI89OibZIdnJFpOEomcx3AngbCKts5zSz13DKNh/GigObyWaFFJ0QfRxNlEoOEtY YHi8pshB1o7654kEvRojH95Zhcvw1vM1IBPfpjxgJoAVRwFtGe+0hllwSxajK30Na09L gKm776Rdwk9pHWlW5QKich6xPT72qfoDQCe/pjfmVHTSgtgV/lcWjZLISwlRlL+NxrNF kbuAu7Fa36VS2dyKAkWNd9pqhrcwNgqCZk9DWPpd9hxJKpnXaH3M3Yrd0QWLK0hcrHoi MuYQ== X-Gm-Message-State: AOAM532AkA828X2CkI32edD50PzYj7atxFO2taGxafgTDsMchUHPgKVZ j6jL61fmh1gPzcATg81fcYd7Va5Gnck= X-Google-Smtp-Source: ABdhPJw9zFblVjAZbkslE6a7BJg9v5qmM2JHKWBks8/bu91BfQ23uN8c2y83KmQXP4P7FkuvabmgDg== X-Received: by 2002:a17:90b:1c90:: with SMTP id oo16mr7814146pjb.199.1634834843888; Thu, 21 Oct 2021 09:47:23 -0700 (PDT) Received: from gnu-cfl-2.localdomain ([172.58.39.6]) by smtp.gmail.com with ESMTPSA id s20sm7018890pfk.131.2021.10.21.09.47.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Oct 2021 09:47:23 -0700 (PDT) Received: from gnu-cfl-2.lan (localhost [IPv6:::1]) by gnu-cfl-2.localdomain (Postfix) with ESMTP id DA4561A00E1; Thu, 21 Oct 2021 09:47:22 -0700 (PDT) To: gcc-patches@gcc.gnu.org Subject: [PATCH] x86: Document -fcf-protection requires i686 or newer Date: Thu, 21 Oct 2021 09:47:22 -0700 Message-Id: <20211021164722.500302-1-hjl.tools@gmail.com> X-Mailer: git-send-email 2.32.0 MIME-Version: 1.0 X-Spam-Status: No, score=-3032.1 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 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" PR target/98667 * doc/invoke.texi: Document -fcf-protection requires i686 or new. --- gcc/doc/invoke.texi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index c66a25fcd69..71992b8c597 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -15542,7 +15542,8 @@ which functions and calls should be skipped from instrumentation (@pxref{Function Attributes}). Currently the x86 GNU/Linux target provides an implementation based -on Intel Control-flow Enforcement Technology (CET). +on Intel Control-flow Enforcement Technology (CET) which works for +i686 processor or newer. @item -fstack-protector @opindex fstack-protector