소스 검색

type directives for x86_64 math asm

Rich Felker 14 년 전
부모
커밋
bc30aea457
2개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  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