about summary refs log tree commit diff
path: root/src/math/i386/exp.s
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2015-04-18 20:45:39 -0400
committerRich Felker <dalias@aerifal.cx>2015-04-18 20:45:39 -0400
commit8ed66ecbcba1dd0f899f22b534aac92a282f42d5 (patch)
tree2ed0c71c33c29f7e6f407a8ca8aa1265c878292c /src/math/i386/exp.s
parent01d42747118522b7a486ece1736b93c6d5751344 (diff)
downloadmusl-8ed66ecbcba1dd0f899f22b534aac92a282f42d5.tar.gz
musl-8ed66ecbcba1dd0f899f22b534aac92a282f42d5.tar.xz
musl-8ed66ecbcba1dd0f899f22b534aac92a282f42d5.zip
remove the last of possible-textrels from i386 asm
none of these are actual textrels because of ld-time binding performed
by -Bsymbolic-functions, but I'm changing them with the goal of making
ld-time binding purely an optimization rather than relying on it for
semantic purposes.

in the case of memmove's call to memcpy, making it explicit that the
memmove asm is assuming the forward-copying behavior of the memcpy asm
is desirable anyway; in case memcpy is ever changed, the semantic
mismatch would be apparent while editing memmcpy.s.
Diffstat (limited to 'src/math/i386/exp.s')
-rw-r--r--src/math/i386/exp.s3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/math/i386/exp.s b/src/math/i386/exp.s
index abb90369..c7aa5b6e 100644
--- a/src/math/i386/exp.s
+++ b/src/math/i386/exp.s
@@ -72,8 +72,11 @@ exp2f:
 	jmp 1f
 
 .global exp2l
+.global __exp2l
+.hidden __exp2l
 .type exp2l,@function
 exp2l:
+__exp2l:
 	fldt 4(%esp)
 	jmp 1f