aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/hurd
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2018-04-02 23:40:26 +0000
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2018-04-02 23:40:26 +0000
commita758c29399641150dc38cffc79ab361c20fabcfd (patch)
treeae673bdede887fdfcb58e7a10ba4bcf6f77a0916 /sysdeps/hurd
parent7a8f45e302b4518da518b48ab54ab43249d606f1 (diff)
downloadglibc-a758c29399641150dc38cffc79ab361c20fabcfd.tar
glibc-a758c29399641150dc38cffc79ab361c20fabcfd.tar.gz
glibc-a758c29399641150dc38cffc79ab361c20fabcfd.tar.bz2
glibc-a758c29399641150dc38cffc79ab361c20fabcfd.zip
hurd: Avoid more libc.so PLTs
* sysdeps/hurd/include/hurd/signal.h (_hurd_raise_signal): Add hidden prototype. * hurd/hurd-raise.c (_hurd_raise_signal): Add hidden def. * hurd/Makefile ($(inlines:%=$(objpfx)%.c): Define _HEADER_H_HIDDEN_DEF macro. * sysdeps/hurd/include/hurd/fd.h (_hurd_fd_error, _hurd_fd_error_signal): Add hidden prototype. [_HURD_FD_H_HIDDEN_DEF] (_hurd_fd_error, _hurd_fd_error_signal): Add hidden def.
Diffstat (limited to 'sysdeps/hurd')
-rw-r--r--sysdeps/hurd/include/hurd/fd.h6
-rw-r--r--sysdeps/hurd/include/hurd/signal.h1
2 files changed, 7 insertions, 0 deletions
diff --git a/sysdeps/hurd/include/hurd/fd.h b/sysdeps/hurd/include/hurd/fd.h
index b22f0c59f4..643454f3f8 100644
--- a/sysdeps/hurd/include/hurd/fd.h
+++ b/sysdeps/hurd/include/hurd/fd.h
@@ -1,4 +1,10 @@
#ifndef _HURD_FD_H
#include_next <hurd/fd.h>
libc_hidden_proto (_hurd_intern_fd)
+libc_hidden_proto (_hurd_fd_error)
+libc_hidden_proto (_hurd_fd_error_signal)
+#ifdef _HURD_FD_H_HIDDEN_DEF
+libc_hidden_def (_hurd_fd_error)
+libc_hidden_def (_hurd_fd_error_signal)
+#endif
#endif
diff --git a/sysdeps/hurd/include/hurd/signal.h b/sysdeps/hurd/include/hurd/signal.h
index fbd01bb80d..f3185f97db 100644
--- a/sysdeps/hurd/include/hurd/signal.h
+++ b/sysdeps/hurd/include/hurd/signal.h
@@ -3,4 +3,5 @@
libc_hidden_proto (_hurd_exception2signal)
libc_hidden_proto (_hurd_intr_rpc_mach_msg)
libc_hidden_proto (_hurd_thread_sigstate)
+libc_hidden_proto (_hurd_raise_signal)
#endif