From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11167 invoked by alias); 16 Feb 2018 23:45:20 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 11065 invoked by uid 89); 16 Feb 2018 23:45:05 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.9 required=5.0 tests=BAYES_00,KAM_LAZY_DOMAIN_SECURITY,T_RP_MATCHES_RCVD autolearn=no version=3.3.2 spammy= X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 16 Feb 2018 23:45:04 +0000 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id C4DE680481; Fri, 16 Feb 2018 23:45:02 +0000 (UTC) Received: from localhost.localdomain (ovpn-112-67.rdu2.redhat.com [10.10.112.67]) by smtp.corp.redhat.com (Postfix) with ESMTP id 39F8C620AB; Fri, 16 Feb 2018 23:45:01 +0000 (UTC) Subject: Re: [PATCH] CET shouldn't be enabled in 32-bit run-time libraries by defualt To: "Tsimbalist, Igor V" , "gcc-patches@gcc.gnu.org" References: From: Jeff Law Message-ID: Date: Fri, 16 Feb 2018 23:45:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2018-02/txt/msg01049.txt.bz2 On 02/14/2018 06:49 AM, Tsimbalist, Igor V wrote: > ENDBR32 and RDSSPD are multi-byte NOPs on x86-64 processors and > newer x86 processors, starting Pentium Pro. They are UD on older 32-bit > processors. Detect this at configure time and adjust the default value > for enable_cet. GCC will enable CET in 32-bit run-time libraries in any case > if --enable-cet is used to configure GCC. > > OK for trunk? OK. jeff