diff options
author | Rich Felker <dalias@aerifal.cx> | 2015-04-17 23:29:45 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2015-04-17 23:29:45 -0400 |
commit | 1b1cafa50c11d4c772a4f938b2feb7cbcc5f992a (patch) | |
tree | 882f21a0ceb9cc8744b0941a227381d91bdba70f /src/ldso/aarch64/tlsdesc.s | |
parent | ca7977b56fc126e933ced21321a24db5477e085b (diff) | |
download | musl-1b1cafa50c11d4c772a4f938b2feb7cbcc5f992a.tar.gz musl-1b1cafa50c11d4c772a4f938b2feb7cbcc5f992a.tar.xz musl-1b1cafa50c11d4c772a4f938b2feb7cbcc5f992a.zip |
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.
Diffstat (limited to 'src/ldso/aarch64/tlsdesc.s')
-rw-r--r-- | src/ldso/aarch64/tlsdesc.s | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ldso/aarch64/tlsdesc.s b/src/ldso/aarch64/tlsdesc.s index 69737b2d..8ed5c267 100644 --- a/src/ldso/aarch64/tlsdesc.s +++ b/src/ldso/aarch64/tlsdesc.s @@ -3,6 +3,7 @@ // return a[1]; // } .global __tlsdesc_static +.hidden __tlsdesc_static .type __tlsdesc_static,@function __tlsdesc_static: ldr x0,[x0,#8] @@ -19,6 +20,7 @@ __tlsdesc_static: // return __tls_get_new(p) - tp; // } .global __tlsdesc_dynamic +.hidden __tlsdesc_dynamic .type __tlsdesc_dynamic,@function __tlsdesc_dynamic: stp x1,x2,[sp,#-32]! |