hurd: Avoid PLTs for _hurd_port_locked_get/set

* sysdeps/hurd/include/hurd/port.h: New file.
This commit is contained in:
Samuel Thibault 2018-06-14 00:28:03 +02:00
parent c8c910ed9c
commit c8c6e6d6d0
2 changed files with 10 additions and 0 deletions

View File

@ -4,6 +4,7 @@
test-xfail-check-abi-libmachuser): Add.
* sysdeps/mach/hurd/localplt.data (ld.so): Add __open64, rename
__libc_read and __libc_write to __read and __write.
* sysdeps/hurd/include/hurd/port.h: New file.
2018-06-13 Joseph Myers <joseph@codesourcery.com>

View File

@ -0,0 +1,9 @@
#ifndef _HURD_PORT_H
#include_next <hurd/port.h>
libc_hidden_proto (_hurd_port_locked_get)
libc_hidden_proto (_hurd_port_locked_set)
#ifdef _HURD_PORT_H_HIDDEN_DEF
libc_hidden_def (_hurd_port_locked_get)
libc_hidden_def (_hurd_port_locked_set)
#endif
#endif