aboutsummaryrefslogtreecommitdiff
path: root/hurd/Makefile
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 /hurd/Makefile
parent7a8f45e302b4518da518b48ab54ab43249d606f1 (diff)
downloadglibc-a758c29399641150dc38cffc79ab361c20fabcfd.zip
glibc-a758c29399641150dc38cffc79ab361c20fabcfd.tar.gz
glibc-a758c29399641150dc38cffc79ab361c20fabcfd.tar.bz2
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 'hurd/Makefile')
-rw-r--r--hurd/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/hurd/Makefile b/hurd/Makefile
index 7a787d2..a41737f 100644
--- a/hurd/Makefile
+++ b/hurd/Makefile
@@ -79,6 +79,7 @@ shared-only-routines = compat-20
$(inlines:%=$(objpfx)%.c): $(objpfx)%-inlines.c: %.h
(h="`echo $(subst /,_,$*) | tr '[a-z]' '[A-Z]'`"; \
echo "#define _$${h}_H_EXTERN_INLINE /* Define real function. */"; \
+ echo "#define _$${h}_H_HIDDEN_DEF /* Declare hidden definition. */"; \
echo '#include "$<"') > $@-new
mv -f $@-new $@
generated += $(inlines:=.c)