public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
* [hurd,commited] hurd: whitelist ld.so PLTs supposed to be avoided by rtld_hidden
  2018-04-03  0:30 [hurd,commited] hurd: Fix typo Samuel Thibault
@ 2018-04-03  0:30 ` Samuel Thibault
  0 siblings, 0 replies; 3+ messages in thread
From: Samuel Thibault @ 2018-04-03  0:30 UTC (permalink / raw)
  To: libc-alpha; +Cc: Samuel Thibault

* sysdeps/mach/hurd/localplt.data (ld.so): Add _dl_allocate_tls,
_dl_allocate_tls_init, _dl_exception_create, _dl_exception_create_format,
_dl_exception_free, _dl_find_dso_for_object, _dl_init_first, _dl_mcount,
___tls_get_addr, __tunable_get_val.
---
 sysdeps/mach/hurd/localplt.data | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/sysdeps/mach/hurd/localplt.data b/sysdeps/mach/hurd/localplt.data
index 2417b715d4..ca43cce323 100644
--- a/sysdeps/mach/hurd/localplt.data
+++ b/sysdeps/mach/hurd/localplt.data
@@ -39,3 +39,15 @@ ld.so: __getpid
 ld.so: abort
 ld.so: _hurd_intr_rpc_mach_msg
 ld.so: __errno_location
+# rtld_hidden is currently disabled to avoid having to special-case the
+# functions above which do need a PLT.  These are thus currently expected.
+ld.so: _dl_allocate_tls
+ld.so: _dl_allocate_tls_init
+ld.so: _dl_exception_create
+ld.so: _dl_exception_create_format
+ld.so: _dl_exception_free
+ld.so: _dl_find_dso_for_object
+ld.so: _dl_init_first
+ld.so: _dl_mcount
+ld.so: ___tls_get_addr
+ld.so: __tunable_get_val
-- 
2.16.2

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [hurd,commited] hurd: Fix typo
@ 2018-04-03  0:30 Samuel Thibault
  2018-04-03  0:30 ` [hurd,commited] hurd: whitelist ld.so PLTs supposed to be avoided by rtld_hidden Samuel Thibault
  0 siblings, 1 reply; 3+ messages in thread
From: Samuel Thibault @ 2018-04-03  0:30 UTC (permalink / raw)
  To: libc-alpha; +Cc: Samuel Thibault

* htl/pt-cleanup.c: Define __pthread_get_cleanup_stack alias instead of
__pthread_cleanup_stack.
---
 htl/pt-cleanup.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/htl/pt-cleanup.c b/htl/pt-cleanup.c
index 05c187306c..1b860c7bf7 100644
--- a/htl/pt-cleanup.c
+++ b/htl/pt-cleanup.c
@@ -25,4 +25,4 @@ ___pthread_get_cleanup_stack (void)
 {
   return &_pthread_self ()->cancelation_handlers;
 }
-strong_alias (___pthread_get_cleanup_stack, __pthread_cleanup_stack)
+strong_alias (___pthread_get_cleanup_stack, __pthread_get_cleanup_stack)
-- 
2.16.2

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [hurd,commited] hurd: whitelist ld.so PLTs supposed to be avoided by rtld_hidden
@ 2018-04-02 21:49 Samuel Thibault
  0 siblings, 0 replies; 3+ messages in thread
From: Samuel Thibault @ 2018-04-02 21:49 UTC (permalink / raw)
  To: libc-alpha; +Cc: Samuel Thibault

* sysdeps/mach/hurd/localplt.data (ld.so): Add _dl_allocate_tls,
_dl_allocate_tls_init, _dl_exception_create, _dl_exception_create_format,
_dl_exception_free, _dl_find_dso_for_object, _dl_init_first, _dl_mcount,
___tls_get_addr, __tunable_get_val.
---
 sysdeps/mach/hurd/localplt.data | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/sysdeps/mach/hurd/localplt.data b/sysdeps/mach/hurd/localplt.data
index 2417b715d4..ca43cce323 100644
--- a/sysdeps/mach/hurd/localplt.data
+++ b/sysdeps/mach/hurd/localplt.data
@@ -39,3 +39,15 @@ ld.so: __getpid
 ld.so: abort
 ld.so: _hurd_intr_rpc_mach_msg
 ld.so: __errno_location
+# rtld_hidden is currently disabled to avoid having to special-case the
+# functions above which do need a PLT.  These are thus currently expected.
+ld.so: _dl_allocate_tls
+ld.so: _dl_allocate_tls_init
+ld.so: _dl_exception_create
+ld.so: _dl_exception_create_format
+ld.so: _dl_exception_free
+ld.so: _dl_find_dso_for_object
+ld.so: _dl_init_first
+ld.so: _dl_mcount
+ld.so: ___tls_get_addr
+ld.so: __tunable_get_val
-- 
2.16.2

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-04-03  0:30 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-04-03  0:30 [hurd,commited] hurd: Fix typo Samuel Thibault
2018-04-03  0:30 ` [hurd,commited] hurd: whitelist ld.so PLTs supposed to be avoided by rtld_hidden Samuel Thibault
  -- strict thread matches above, loose matches on Subject: below --
2018-04-02 21:49 Samuel Thibault

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).