]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
hurd: whitelist ld.so PLTs supposed to be avoided by rtld_hidden
authorSamuel Thibault <samuel.thibault@ens-lyon.org>
Mon, 2 Apr 2018 21:47:56 +0000 (23:47 +0200)
committerSamuel Thibault <samuel.thibault@ens-lyon.org>
Mon, 2 Apr 2018 21:47:56 +0000 (23:47 +0200)
* 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

index 2417b715d4c786bf7b4fc9b70b78d5fc0d322d15..ca43cce3234e12c5e38427ab36a5aa50c68024e9 100644 (file)
@@ -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