]> sourceware.org Git - glibc.git/commitdiff
hurd: Avoid PLTs for _hurd_port_locked_get/set
authorSamuel Thibault <samuel.thibault@ens-lyon.org>
Wed, 13 Jun 2018 22:28:03 +0000 (00:28 +0200)
committerSamuel Thibault <samuel.thibault@ens-lyon.org>
Wed, 13 Jun 2018 22:28:03 +0000 (00:28 +0200)
* sysdeps/hurd/include/hurd/port.h: New file.

ChangeLog
sysdeps/hurd/include/hurd/port.h [new file with mode: 0644]

index 61e7c1758f981a31fbd2bf29bb0e0397b8d87ad9..7089241ffd30cae286a7f5a7f2845d4114b99bdd 100644 (file)
--- 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 (file)
index 0000000..84582f6
--- /dev/null
@@ -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
This page took 0.067513 seconds and 5 git commands to generate.