From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21084 invoked by alias); 23 Sep 2014 16:00:08 -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 21032 invoked by uid 89); 23 Sep 2014 16:00:08 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.1 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2 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 (AES256-GCM-SHA384 encrypted) ESMTPS; Tue, 23 Sep 2014 16:00:02 +0000 Received: from int-mx13.intmail.prod.int.phx2.redhat.com (int-mx13.intmail.prod.int.phx2.redhat.com [10.5.11.26]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id s8NG00YS003056 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 23 Sep 2014 12:00:01 -0400 Received: from stumpy.slc.redhat.com (ovpn-113-38.phx2.redhat.com [10.3.113.38]) by int-mx13.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id s8NG002c007908; Tue, 23 Sep 2014 12:00:00 -0400 Message-ID: <54219900.6060903@redhat.com> Date: Tue, 23 Sep 2014 16:00:00 -0000 From: Jeff Law User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.1.0 MIME-Version: 1.0 To: Jakub Jelinek , Ilya Enkovich CC: Vladimir Makarov , gcc@gnu.org, gcc-patches , Evgeny Stupachenko , Richard Biener , Uros Bizjak , Petr Machata Subject: Re: Enable EBX for x86 in 32bits PIC code References: <53FB5184.3030500@redhat.com> <53FCA6F5.7020405@redhat.com> <20140826213712.GA39451@msticlxl57.ims.intel.com> <53FE3D46.8050904@redhat.com> <540777C0.9050106@redhat.com> <20140923135437.GD35262@msticlxl57.ims.intel.com> <20140923143419.GN17454@tucnak.redhat.com> In-Reply-To: <20140923143419.GN17454@tucnak.redhat.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2014-09/txt/msg01997.txt.bz2 On 09/23/14 08:34, Jakub Jelinek wrote: > On Tue, Sep 23, 2014 at 05:54:37PM +0400, Ilya Enkovich wrote: >> use fixed EBX at least until we make sure pseudo PIC doesn't harm debug >> info generation. If we have such option then gcc.target/i386/pic-1.c and > > For debug info, it seems you are already handling this in > delegitimize_address target hook, I'd suggest just building some very large > shared library at -O2 -g -fpic on i?86 and either look at the > sizes of .debug_info/.debug_loc sections with/without the patch, > or use the locstat utility from elfutils (talk to Petr Machata if needed). Can't hurt, but I really don't see how changing from a fixed to an allocatable register is going to muck up debug info in any significant way. jeff