From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx2.suse.de (mx2.suse.de [195.135.220.15]) by sourceware.org (Postfix) with ESMTPS id 23A8A3972C0E for ; Fri, 27 Nov 2020 14:24:49 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 23A8A3972C0E Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=suse.de Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=rguenther@suse.de X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id 1FB28ABD7; Fri, 27 Nov 2020 14:24:48 +0000 (UTC) Date: Fri, 27 Nov 2020 14:24:48 +0000 (UTC) From: Richard Biener To: "H.J. Lu" cc: gcc-patches@gcc.gnu.org Subject: Re: [PATCH] INSTALL: Default to --enable-cet=auto In-Reply-To: <20201127134211.1808714-1-hjl.tools@gmail.com> Message-ID: References: <20201127134211.1808714-1-hjl.tools@gmail.com> User-Agent: Alpine 2.22 (LSU 394 2020-01-19) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Spam-Status: No, score=-11.3 required=5.0 tests=BAYES_00, GIT_PATCH_0, KAM_DMARC_STATUS, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) 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: Fri, 27 Nov 2020 14:24:50 -0000 OK. On Fri, 27 Nov 2020, H.J. Lu wrote: > PR other/98027 > * doc/install: Default to --enable-cet=auto. > --- > gcc/doc/install.texi | 9 ++++----- > 1 file changed, 4 insertions(+), 5 deletions(-) > > diff --git a/gcc/doc/install.texi b/gcc/doc/install.texi > index 5f879ca4cea..021c347cc09 100644 > --- a/gcc/doc/install.texi > +++ b/gcc/doc/install.texi > @@ -2259,11 +2259,10 @@ instrumentation, see @option{-fcf-protection} option. When > to add @option{-fcf-protection} and, if needed, other target > specific options to a set of building options. > > -The option is disabled by default. When @code{--enable-cet=auto} > -is used, it is enabled on Linux/x86 if target binutils > -supports @code{Intel CET} instructions and disabled otherwise. > -In this case the target libraries are configured to get additional > -@option{-fcf-protection} option. > +@code{--enable-cet=auto} is default. CET is enabled on Linux/x86 if > +target binutils supports @code{Intel CET} instructions and disabled > +otherwise. In this case, the target libraries are configured to get > +additional @option{-fcf-protection} option. > > @item --with-riscv-attribute=@samp{yes}, @samp{no} or @samp{default} > Generate RISC-V attribute by default, in order to record extra build > -- Richard Biener SUSE Software Solutions Germany GmbH, Maxfeldstrasse 5, 90409 Nuernberg, Germany; GF: Felix Imend