This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]