This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [hurd,commited] hurd: Avoid some PLTs in libc and librt
- From: Florian Weimer <fweimer at redhat dot com>
- To: Samuel Thibault <samuel dot thibault at ens-lyon dot org>, libc-alpha at sourceware dot org
- Date: Mon, 2 Apr 2018 21:37:25 +0200
- Subject: Re: [hurd,commited] hurd: Avoid some PLTs in libc and librt
- References: <20180402190912.1666-1-samuel.thibault@ens-lyon.org>
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 <fts_build+0x75>
591: R_X86_64_PLT32 __dirfd-0x4
I think this calls for a different solution.
Thanks,
Florian