summaryrefslogtreecommitdiff
path: root/sysdeps/mach
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2018-06-14 17:09:18 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2018-06-14 17:09:18 +0200
commitc596630bbdcab1520f0f2ebe065bc7b7eb508e99 (patch)
tree7c85a1efdc799d88e2233df5d154f2e13230821d /sysdeps/mach
parent35ebb6b0c48bc671d9c54e089884f9bf6fca540e (diff)
hurd: Fix htl link failure
126b3ec370f0 ("hurd: Avoid PLTs for __mach_thread_self and __mach_reply_port") made mach traps hidden, but htl actually uses two of them. Re-expose them for now. Exposing them properly will be more involved since their definition is generated. * sysdeps/mach/include/mach/mach_traps.h (__mach_thread_self, __mach_task_self): Remove attribute_hidden.
Diffstat (limited to 'sysdeps/mach')
-rw-r--r--sysdeps/mach/include/mach/mach_traps.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/mach/include/mach/mach_traps.h b/sysdeps/mach/include/mach/mach_traps.h
index 838386243f..d1b2febac1 100644
--- a/sysdeps/mach/include/mach/mach_traps.h
+++ b/sysdeps/mach/include/mach/mach_traps.h
@@ -2,8 +2,8 @@
#include_next <mach/mach_traps.h>
extern mach_port_t __mach_reply_port (void) attribute_hidden;
-extern mach_port_t __mach_thread_self (void) attribute_hidden;
-extern mach_port_t (__mach_task_self) (void) attribute_hidden;
+extern mach_port_t __mach_thread_self (void);
+extern mach_port_t (__mach_task_self) (void);
extern mach_port_t (__mach_host_self) (void) attribute_hidden;
extern boolean_t __swtch (void) attribute_hidden;
extern boolean_t __swtch_pri (int priority) attribute_hidden;