aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/mach
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2018-04-02 23:47:56 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2018-04-02 23:47:56 +0200
commit02008f83011862eda4aec358a369427b790d7cd8 (patch)
tree37f062222819d408b4920877f3455dc0f0cf45ec /sysdeps/mach
parenta83ed7ad786462cc5cc8a9522919dcbc1c32113f (diff)
downloadglibc-02008f83011862eda4aec358a369427b790d7cd8.tar
glibc-02008f83011862eda4aec358a369427b790d7cd8.tar.gz
glibc-02008f83011862eda4aec358a369427b790d7cd8.tar.bz2
glibc-02008f83011862eda4aec358a369427b790d7cd8.zip
hurd: whitelist ld.so PLTs supposed to be avoided by rtld_hidden
* 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.
Diffstat (limited to 'sysdeps/mach')
-rw-r--r--sysdeps/mach/hurd/localplt.data12
1 files changed, 12 insertions, 0 deletions
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