Sfoglia il codice sorgente

type directives for x86_64 math asm

Rich Felker 14 anni fa
parent
commit
bc30aea457
2 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  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