From 1b1cafa50c11d4c772a4f938b2feb7cbcc5f992a Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Fri, 17 Apr 2015 23:29:45 -0400 Subject: apply hidden visibility to tlsdesc accessor functions these functions are never called directly; only their addresses are used, so PLT indirections should never happen unless a broken application tries to redefine them, but it's still best to make them hidden. --- src/ldso/x86_64/tlsdesc.s | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/ldso/x86_64/tlsdesc.s') diff --git a/src/ldso/x86_64/tlsdesc.s b/src/ldso/x86_64/tlsdesc.s index eb21b9de..8238c3eb 100644 --- a/src/ldso/x86_64/tlsdesc.s +++ b/src/ldso/x86_64/tlsdesc.s @@ -1,5 +1,6 @@ .text .global __tlsdesc_static +.hidden __tlsdesc_static .type __tlsdesc_static,@function __tlsdesc_static: mov 8(%rax),%rax @@ -8,6 +9,7 @@ __tlsdesc_static: .hidden __tls_get_new .global __tlsdesc_dynamic +.hidden __tlsdesc_dynamic .type __tlsdesc_dynamic,@function __tlsdesc_dynamic: mov 8(%rax),%rax -- cgit v1.2.1