summaryrefslogtreecommitdiff
path: root/sysdeps/hurd
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2018-06-14 00:28:03 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2018-06-14 00:28:03 +0200
commitc8c6e6d6d0859e5e9b3c6f8b3daa4e6b6e709873 (patch)
treea26988a6cf8b172997a4ef6949198f23136de79f /sysdeps/hurd
parentc8c910ed9cbff8c75e74149f227adf3c960f1dbc (diff)
downloadglibc-c8c6e6d6d0859e5e9b3c6f8b3daa4e6b6e709873.tar.gz
hurd: Avoid PLTs for _hurd_port_locked_get/set
* sysdeps/hurd/include/hurd/port.h: New file.
Diffstat (limited to 'sysdeps/hurd')
-rw-r--r--sysdeps/hurd/include/hurd/port.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/sysdeps/hurd/include/hurd/port.h b/sysdeps/hurd/include/hurd/port.h
new file mode 100644
index 0000000000..84582f6d02
--- /dev/null
+++ b/sysdeps/hurd/include/hurd/port.h
@@ -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