diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2018-06-16 02:47:51 +0200 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2018-06-16 02:50:36 +0200 |
commit | b0344cf5c55b4ca83f383c7a1896a016dfe66687 (patch) | |
tree | 6b7a0f359d40771bece104cc4433793b794ef82d /mach | |
parent | hurd: Avoid PLT ref to __mach_msg (diff) | |
download | glibc-b0344cf5c55b4ca83f383c7a1896a016dfe66687.tar.gz glibc-b0344cf5c55b4ca83f383c7a1896a016dfe66687.tar.bz2 glibc-b0344cf5c55b4ca83f383c7a1896a016dfe66687.zip |
hurd: Avoid PLT references to syscalls
* mach/Makefile ($(mach-syscalls:%=$(objpfx))): Add hidden definition.
* sysdeps/mach/include/mach/mach_traps.h (__mach_reply_port,
__mach_thread_self, __mach_task_self, __mach_host_self, __swtch,
__swtch_pri, __thread_switch, __evc_wait): Add hidden prototypes.
Diffstat (limited to 'mach')
-rw-r--r-- | mach/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mach/Makefile b/mach/Makefile index 2683587b2d..435ae6882d 100644 --- a/mach/Makefile +++ b/mach/Makefile @@ -97,7 +97,8 @@ else $(mach-syscalls:%=$(objpfx)%.S): $(objpfx)%.S: $(objpfx)mach-syscalls.mk (echo '#include <sysdep.h>'; \ echo 'kernel_trap (__$*,$(sysno-$*),$(nargs-$*))'; \ - echo 'weak_alias (__$*, $*)') > $@-new + echo 'weak_alias (__$*, $*)'; \ + echo 'libc_hidden_def (__$*)') > $@-new mv -f $@-new $@ generated += $(mach-syscalls:=.S) endif # mach-syscalls |