]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
hurd: Fix htl link failure
authorSamuel Thibault <samuel.thibault@ens-lyon.org>
Thu, 14 Jun 2018 15:09:18 +0000 (17:09 +0200)
committerSamuel Thibault <samuel.thibault@ens-lyon.org>
Thu, 14 Jun 2018 15:09:18 +0000 (17:09 +0200)
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.

ChangeLog
sysdeps/mach/include/mach/mach_traps.h

index 55f989a5a198bf707ba79fdcd913ff64298276d5..3604b1c7176e114b2264413fe64501077e3c31d7 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2018-06-14  Samuel Thibault  <samuel.thibault@ens-lyon.org>
+
+       * sysdeps/mach/include/mach/mach_traps.h (__mach_thread_self,
+       __mach_task_self): Remove attribute_hidden.
+
 2018-06-14  Joseph Myers  <joseph@codesourcery.com>
 
        * string/tester.c (test_strncat) [__GNUC_PREREQ (7, 0)]: Also
index 838386243f11cd7d5e781e79ad92a91a4c0191af..d1b2febac17cebdab7eb7f9ad4b3f3f93b4af8e0 100644 (file)
@@ -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;