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/i386/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/i386/tlsdesc.s')
-rw-r--r-- | src/ldso/i386/tlsdesc.s | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ldso/i386/tlsdesc.s b/src/ldso/i386/tlsdesc.s index 00a9fc09..4a553bce 100644 --- a/src/ldso/i386/tlsdesc.s +++ b/src/ldso/i386/tlsdesc.s @@ -1,5 +1,6 @@ .text .global __tlsdesc_static +.hidden __tlsdesc_static .type __tlsdesc_static,@function __tlsdesc_static: mov 4(%eax),%eax @@ -8,6 +9,7 @@ __tlsdesc_static: .hidden __tls_get_new .global __tlsdesc_dynamic +.hidden __tlsdesc_dynamic .type __tlsdesc_dynamic,@function __tlsdesc_dynamic: mov 4(%eax),%eax |