[hurd,commited] hurd: Avoid some PLTs in libc and librt

Florian Weimer fweimer@redhat.com
Mon Apr 2 19:37:00 GMT 2018


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



More information about the Libc-alpha mailing list