hurd: avoid PLT ref between sendfile and sendfile64
commit298a8b59d43cf9a75c44e9b2836e07282a6d34ed
authorSamuel Thibault <samuel.thibault@ens-lyon.org>
Fri, 15 Jun 2018 22:44:17 +0000 (16 00:44 +0200)
committerSamuel Thibault <samuel.thibault@ens-lyon.org>
Fri, 15 Jun 2018 22:44:57 +0000 (16 00:44 +0200)
treed2c0da58786e6417209c2f1f5ed963314999f4c2
parentb12c1e7991cbde3d6fc70abfdf72abecce8b318c
hurd: avoid PLT ref between sendfile and sendfile64

* include/sys/sendfile.h (__sendfile64): Declare hidden prototype.
* sysdeps/mach/hurd/sendfile.c (sendfile): Call __sendfile64 instead
of sendfile.
* sysdeps/mach/hurd/sendfile64.c (sendfile64): Rename to __sendfile64.
(sendfile64): New strong alias.
ChangeLog
include/sys/sendfile.h
sysdeps/mach/hurd/sendfile.c
sysdeps/mach/hurd/sendfile64.c