This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
[hurd,commited] hurd: Avoid PLTs for _hurd_port_locked_get/set
- From: Samuel Thibault <samuel dot thibault at ens-lyon dot org>
- To: libc-alpha at sourceware dot org
- Cc: Samuel Thibault <samuel dot thibault at ens-lyon dot org>
- Date: Thu, 14 Jun 2018 00:28:42 +0200
- Subject: [hurd,commited] hurd: Avoid PLTs for _hurd_port_locked_get/set
* sysdeps/hurd/include/hurd/port.h: New file.
---
ChangeLog | 1 +
sysdeps/hurd/include/hurd/port.h | 9 +++++++++
2 files changed, 10 insertions(+)
create mode 100644 sysdeps/hurd/include/hurd/port.h
diff --git a/ChangeLog b/ChangeLog
index 61e7c1758f..7089241ffd 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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>
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
--
2.17.1