From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16445 invoked by alias); 2 Apr 2018 19:37:29 -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 16424 invoked by uid 89); 2 Apr 2018 19:37:28 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.0 required=5.0 tests=AWL,BAYES_00,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 spammy= X-HELO: mx1.redhat.com Subject: Re: [hurd,commited] hurd: Avoid some PLTs in libc and librt To: Samuel Thibault , libc-alpha@sourceware.org References: <20180402190912.1666-1-samuel.thibault@ens-lyon.org> From: Florian Weimer Message-ID: <34d9bab2-0516-d820-526d-28c74420575c@redhat.com> Date: Mon, 02 Apr 2018 19:37: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: <20180402190912.1666-1-samuel.thibault@ens-lyon.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2018-04/txt/msg00033.txt.bz2 On 04/02/2018 09:09 PM, Samuel Thibault wrote: > * io/fts.c (fts_build): Call __dirfd instead of dirfd. There's no PLT avoidance for __dirfd, so this introduces a regression on GNU/Linux. dirfd was expanded inline there. 590: e8 00 00 00 00 callq 595 591: R_X86_64_PLT32 __dirfd-0x4 I think this calls for a different solution. Thanks, Florian