summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2011-06-26 17:41:34 -0400
committerRich Felker <dalias@aerifal.cx>2011-06-26 17:41:34 -0400
commitbc30aea457c2406b3888df647e5a8af1dfeaadc8 (patch)
tree27482234fbf2817e3a5520298461502d035f9515
parent6b3d5e508fcf16abe18c163c4c31a47f2d35a306 (diff)
downloadmusl-bc30aea457c2406b3888df647e5a8af1dfeaadc8.tar.gz
type directives for x86_64 math asm
-rw-r--r--src/math/x86_64/e_sqrt.s1
-rw-r--r--src/math/x86_64/e_sqrtf.s1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/math/x86_64/e_sqrt.s b/src/math/x86_64/e_sqrt.s
index 64de7d6a..d3c609f9 100644
--- a/src/math/x86_64/e_sqrt.s
+++ b/src/math/x86_64/e_sqrt.s
@@ -1,3 +1,4 @@
.global sqrt
+.type sqrt,@function
sqrt: sqrtsd %xmm0, %xmm0
ret
diff --git a/src/math/x86_64/e_sqrtf.s b/src/math/x86_64/e_sqrtf.s
index 2c77076b..eec48c60 100644
--- a/src/math/x86_64/e_sqrtf.s
+++ b/src/math/x86_64/e_sqrtf.s
@@ -1,3 +1,4 @@
.global sqrtf
+.type sqrtf,@function
sqrtf: sqrtss %xmm0, %xmm0
ret