From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 108022 invoked by alias); 4 Nov 2016 19:03:35 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Received: (qmail 107949 invoked by uid 89); 4 Nov 2016 19:03:34 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-3.2 required=5.0 tests=BAYES_00,KAM_LAZY_DOMAIN_SECURITY,RP_MATCHES_RCVD,SPF_HELO_PASS autolearn=ham version=3.3.2 spammy=Hx-languages-length:415 X-HELO: mx1.redhat.com Subject: Re: [PATCH] Don't use PLT nor GOT in libc.a [BZ #20750] To: libc-alpha@sourceware.org References: <20161104174739.GA5880@intel.com> From: Florian Weimer Message-ID: Date: Fri, 04 Nov 2016 19:03:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 In-Reply-To: <20161104174739.GA5880@intel.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2016-11/txt/msg00198.txt.bz2 On 11/04/2016 06:47 PM, H.J. Lu wrote: > There is no need to use PLT nor GOT in libc.a to branch to a function, > regardless whether libc.a is compiled with PIC or not. > > Tested on x86-64. OK for master? Isn't this header file used outside of libc as well? (And the commit message should mention that this change is specific to x86_64.) Thanks, Florian