Explorar o código

type directives for x86_64 math asm

Rich Felker %!s(int64=14) %!d(string=hai) anos
pai
achega
bc30aea457
Modificáronse 2 ficheiros con 2 adicións e 0 borrados
  1. 1 0
      src/math/x86_64/e_sqrt.s
  2. 1 0
      src/math/x86_64/e_sqrtf.s

+ 1 - 0
src/math/x86_64/e_sqrt.s

@@ -1,3 +1,4 @@
 .global sqrt
+.type sqrt,@function
 sqrt:	sqrtsd %xmm0, %xmm0
 	ret

+ 1 - 0
src/math/x86_64/e_sqrtf.s

@@ -1,3 +1,4 @@
 .global sqrtf
+.type sqrtf,@function
 sqrtf:  sqrtss %xmm0, %xmm0
 	ret