From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pl1-x633.google.com (mail-pl1-x633.google.com [IPv6:2607:f8b0:4864:20::633]) by sourceware.org (Postfix) with ESMTPS id 8C9BA3858416 for ; Thu, 21 Oct 2021 19:09:02 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 8C9BA3858416 Received: by mail-pl1-x633.google.com with SMTP id y1so1070444plk.10 for ; Thu, 21 Oct 2021 12:09:02 -0700 (PDT) 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=RbunCymoVHhkpzqJI7YLXaSNzvjrfgz5pfpYLSMHZv4=; b=1nxJTG7vzlQixO7cByOSRDU6d+YxTVWvT8gRh626EYYaX5jqT7HygNcQ7+u1T7r02c FneVhJk3UkrimNB9qSywjuHeLjSbQj7PTXGJN4MMynPHNEpIot3jB4WSjHDr/5aYe0ml lNaaxQfyMuCB765ZhXqqPzFhkeGeouekV8d1ceAnIUSi26u5ZrPe/VVrLHHMWlRFPag/ jN/Vn8sjBkwzWSAzvS1L5yRiqnmHrsQ2faEpqxKkh7yfM4qSAeLiqME82YZ/LDM05pIJ MPVDjmcY9vBO+zxBLNWDMS9R03dVA5vmHdy31JOFO9UQL+bWTR4z4rQzzhqIuGdJ755B I9RA== X-Gm-Message-State: AOAM533qXkoIYWMVVsgxIDzZsMfQhVMBcxiEbWvYKj83vZC7wQchwYwp RmU84zfK66V6XgXVjbxAaFPlZjSbyVWkhg7L9A4= X-Google-Smtp-Source: ABdhPJyGMoF86iGZLtWTNlJkfwvZBB5yNHZABBOWFWGcunE+K+k+24sXkHArNa4d3xs6XZCXNR72RyGWP0EsmR4hkdg= X-Received: by 2002:a17:902:e80c:b0:13f:1140:8ab2 with SMTP id u12-20020a170902e80c00b0013f11408ab2mr6963188plg.27.1634843341567; Thu, 21 Oct 2021 12:09:01 -0700 (PDT) MIME-Version: 1.0 References: <20211021164722.500302-1-hjl.tools@gmail.com> In-Reply-To: From: "H.J. Lu" Date: Thu, 21 Oct 2021 12:08:25 -0700 Message-ID: Subject: Re: [PATCH] x86: Document -fcf-protection requires i686 or newer To: Uros Bizjak Cc: "gcc-patches@gcc.gnu.org" Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-3029.8 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-List-Received-Date: Thu, 21 Oct 2021 19:09:03 -0000 On Thu, Oct 21, 2021 at 12:04 PM Uros Bizjak wrote: > > On Thu, Oct 21, 2021 at 6:47 PM H.J. Lu wrote: > > > > PR target/98667 > > * doc/invoke.texi: Document -fcf-protection requires i686 or > > new. > > Obvious patch? I am checking it in and backporting it to release branches. Thanks. > Uros. > > > --- > > 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 > > -- > > 2.32.0 > > -- H.J.