Add section .note.GNU-stack for assembly files used by 386 and amd64.

This commit is contained in:
Konstantin Belousov 2011-01-07 16:13:12 +00:00
parent 6c69d05232
commit 8997563c9a
68 changed files with 136 additions and 0 deletions

View File

@ -51,3 +51,5 @@ ENTRY(remainder)
movsd -8(%rsp),%xmm0
fstp %st
ret
.section .note.GNU-stack,"",%progbits

View File

@ -21,3 +21,5 @@ ENTRY(remainderf)
movss -4(%rsp),%xmm0
fstp %st
ret
.section .note.GNU-stack,"",%progbits

View File

@ -46,3 +46,5 @@ ENTRY(remainderl)
jne 1b
fstp %st(1)
ret
.section .note.GNU-stack,"",%progbits

View File

@ -32,3 +32,5 @@ ENTRY(sqrt)
ret
END(sqrt)
.section .note.GNU-stack,"",%progbits

View File

@ -31,3 +31,5 @@ ENTRY(sqrtf)
sqrtss %xmm0, %xmm0
ret
END(sqrtf)
.section .note.GNU-stack,"",%progbits

View File

@ -31,3 +31,5 @@ ENTRY(sqrtl)
fldt 8(%rsp)
fsqrt
ret
.section .note.GNU-stack,"",%progbits

View File

@ -4,3 +4,5 @@ __FBSDID("$FreeBSD$")
/* sizeof(long) == sizeof(long long) */
#define fn llrint
#include "s_lrint.S"
.section .note.GNU-stack,"",%progbits

View File

@ -4,3 +4,5 @@ __FBSDID("$FreeBSD$")
/* sizeof(long) == sizeof(long long) */
#define fn llrintf
#include "s_lrintf.S"
.section .note.GNU-stack,"",%progbits

View File

@ -33,3 +33,5 @@ ENTRY(llrintl)
fistpll (%rsp)
popq %rax
ret
.section .note.GNU-stack,"",%progbits

View File

@ -41,3 +41,5 @@ ENTRY(logbl)
fxtract
fstp %st
ret
.section .note.GNU-stack,"",%progbits

View File

@ -35,3 +35,5 @@ ENTRY(fn)
cvtsd2si %xmm0, %rax
ret
END(fn)
.section .note.GNU-stack,"",%progbits

View File

@ -35,3 +35,5 @@ ENTRY(fn)
cvtss2si %xmm0, %rax
ret
END(fn)
.section .note.GNU-stack,"",%progbits

View File

@ -33,3 +33,5 @@ ENTRY(lrintl)
fistpll (%rsp)
popq %rax
ret
.section .note.GNU-stack,"",%progbits

View File

@ -64,3 +64,5 @@ ENTRY(remquo)
movsd -8(%rsp),%xmm0
ret
END(remquo)
.section .note.GNU-stack,"",%progbits

View File

@ -64,3 +64,5 @@ ENTRY(remquof)
movss -4(%rsp),%xmm0
ret
END(remquof)
.section .note.GNU-stack,"",%progbits

View File

@ -60,3 +60,5 @@ ENTRY(remquol)
/* Store the quotient and return. */
movl %eax,(%rdi)
ret
.section .note.GNU-stack,"",%progbits

View File

@ -41,3 +41,5 @@ ENTRY(rintl)
fldt 8(%rsp)
frndint
ret
.section .note.GNU-stack,"",%progbits

View File

@ -38,3 +38,5 @@ ENTRY(scalbn)
movsd -8(%rsp),%xmm0
ret
END(scalbn)
.section .note.GNU-stack,"",%progbits

View File

@ -41,3 +41,5 @@ END(scalbnf)
.globl CNAME(ldexpf)
.set CNAME(ldexpf),CNAME(scalbnf)
.section .note.GNU-stack,"",%progbits

View File

@ -18,3 +18,5 @@ END(scalbnl)
.globl CNAME(ldexpl)
.set CNAME(ldexpl),CNAME(scalbnl)
.section .note.GNU-stack,"",%progbits

View File

@ -96,3 +96,5 @@ x_not_minus_Inf:
fldl 4(%esp)
ret
END(exp)
.section .note.GNU-stack,"",%progbits

View File

@ -46,3 +46,5 @@ ENTRY(fmod)
fstp %st(1)
ret
END(fmod)
.section .note.GNU-stack,"",%progbits

View File

@ -42,3 +42,5 @@ ENTRY(log)
fyl2x
ret
END(log)
.section .note.GNU-stack,"",%progbits

View File

@ -42,3 +42,5 @@ ENTRY(log10)
fyl2x
ret
END(log10)
.section .note.GNU-stack,"",%progbits

View File

@ -14,3 +14,5 @@ ENTRY(log10f)
fyl2x
ret
END(log10f)
.section .note.GNU-stack,"",%progbits

View File

@ -13,3 +13,5 @@ ENTRY(logf)
flds 4(%esp)
fyl2x
ret
.section .note.GNU-stack,"",%progbits

View File

@ -46,3 +46,5 @@ ENTRY(remainder)
fstp %st(1)
ret
END(remainder)
.section .note.GNU-stack,"",%progbits

View File

@ -18,3 +18,5 @@ ENTRY(remainderf)
fstp %st(1)
ret
END(remainderf)
.section .note.GNU-stack,"",%progbits

View File

@ -46,3 +46,5 @@ ENTRY(remainderl)
jp 1b
fstp %st(1)
ret
.section .note.GNU-stack,"",%progbits

View File

@ -41,3 +41,5 @@ ENTRY(sqrt)
fsqrt
ret
END(sqrt)
.section .note.GNU-stack,"",%progbits

View File

@ -13,3 +13,5 @@ ENTRY(sqrtf)
fsqrt
ret
END(sqrtf)
.section .note.GNU-stack,"",%progbits

View File

@ -40,3 +40,5 @@ ENTRY(sqrtl)
fldt 4(%esp)
fsqrt
ret
.section .note.GNU-stack,"",%progbits

View File

@ -56,3 +56,5 @@ ENTRY(ceil)
leave
ret
END(ceil)
.section .note.GNU-stack,"",%progbits

View File

@ -28,3 +28,5 @@ ENTRY(ceilf)
leave
ret
END(ceilf)
.section .note.GNU-stack,"",%progbits

View File

@ -26,3 +26,5 @@ ENTRY(ceill)
leave
ret
END(ceill)
.section .note.GNU-stack,"",%progbits

View File

@ -46,3 +46,5 @@ ENTRY(copysign)
fldl 4(%esp)
ret
END(copysign)
.section .note.GNU-stack,"",%progbits

View File

@ -18,3 +18,5 @@ ENTRY(copysignf)
flds 4(%esp)
ret
END(copysignf)
.section .note.GNU-stack,"",%progbits

View File

@ -16,3 +16,5 @@ ENTRY(copysignl)
fldt 4(%esp)
ret
END(copysignl)
.section .note.GNU-stack,"",%progbits

View File

@ -54,3 +54,5 @@ ENTRY(cos)
fcos
ret
END(cos)
.section .note.GNU-stack,"",%progbits

View File

@ -44,3 +44,5 @@ ENTRY(finite)
andl $0x000000ff, %eax
ret
END(finite)
.section .note.GNU-stack,"",%progbits

View File

@ -56,3 +56,5 @@ ENTRY(floor)
leave
ret
END(floor)
.section .note.GNU-stack,"",%progbits

View File

@ -28,3 +28,5 @@ ENTRY(floorf)
leave
ret
END(floorf)
.section .note.GNU-stack,"",%progbits

View File

@ -26,3 +26,5 @@ ENTRY(floorl)
leave
ret
END(floorl)
.section .note.GNU-stack,"",%progbits

View File

@ -35,3 +35,5 @@ ENTRY(llrint)
popl %edx
ret
END(llrint)
.section .note.GNU-stack,"",%progbits

View File

@ -35,3 +35,5 @@ ENTRY(llrintf)
popl %edx
ret
END(llrintf)
.section .note.GNU-stack,"",%progbits

View File

@ -34,3 +34,5 @@ ENTRY(llrintl)
popl %eax
popl %edx
ret
.section .note.GNU-stack,"",%progbits

View File

@ -42,3 +42,5 @@ ENTRY(logb)
fstp %st
ret
END(logb)
.section .note.GNU-stack,"",%progbits

View File

@ -14,3 +14,5 @@ ENTRY(logbf)
fstp %st
ret
END(logbf)
.section .note.GNU-stack,"",%progbits

View File

@ -41,3 +41,5 @@ ENTRY(logbl)
fxtract
fstp %st
ret
.section .note.GNU-stack,"",%progbits

View File

@ -34,3 +34,5 @@ ENTRY(lrint)
popl %eax
ret
END(lrint)
.section .note.GNU-stack,"",%progbits

View File

@ -34,3 +34,5 @@ ENTRY(lrintf)
popl %eax
ret
END(lrintf)
.section .note.GNU-stack,"",%progbits

View File

@ -33,3 +33,5 @@ ENTRY(lrintl)
fistpl (%esp)
popl %eax
ret
.section .note.GNU-stack,"",%progbits

View File

@ -61,3 +61,5 @@ ENTRY(remquo)
movl %eax,(%ecx)
ret
END(remquo)
.section .note.GNU-stack,"",%progbits

View File

@ -61,3 +61,5 @@ ENTRY(remquof)
movl %eax,(%ecx)
ret
END(remquof)
.section .note.GNU-stack,"",%progbits

View File

@ -61,3 +61,5 @@ ENTRY(remquol)
movl 28(%esp),%ecx
movl %eax,(%ecx)
ret
.section .note.GNU-stack,"",%progbits

View File

@ -41,3 +41,5 @@ ENTRY(rint)
frndint
ret
END(rint)
.section .note.GNU-stack,"",%progbits

View File

@ -13,3 +13,5 @@ ENTRY(rintf)
frndint
ret
END(rintf)
.section .note.GNU-stack,"",%progbits

View File

@ -40,3 +40,5 @@ ENTRY(rintl)
fldt 4(%esp)
frndint
ret
.section .note.GNU-stack,"",%progbits

View File

@ -43,3 +43,5 @@ ENTRY(scalbn)
fstp %st(1)
ret
END(scalbn)
.section .note.GNU-stack,"",%progbits

View File

@ -18,3 +18,5 @@ END(scalbnf)
.globl CNAME(ldexpf)
.set CNAME(ldexpf),CNAME(scalbnf)
.section .note.GNU-stack,"",%progbits

View File

@ -18,3 +18,5 @@ END(scalbnl)
.globl CNAME(ldexpl)
.set CNAME(ldexpl),CNAME(scalbnl)
.section .note.GNU-stack,"",%progbits

View File

@ -42,3 +42,5 @@ ENTRY(significand)
fstp %st(1)
ret
END(significand)
.section .note.GNU-stack,"",%progbits

View File

@ -14,3 +14,5 @@ ENTRY(significandf)
fstp %st(1)
ret
END(significandf)
.section .note.GNU-stack,"",%progbits

View File

@ -54,3 +54,5 @@ ENTRY(sin)
fsin
ret
END(sin)
.section .note.GNU-stack,"",%progbits

View File

@ -56,3 +56,5 @@ ENTRY(tan)
fstp %st(0)
ret
END(tan)
.section .note.GNU-stack,"",%progbits

View File

@ -25,3 +25,5 @@ ENTRY(trunc)
leave
ret
END(trunc)
.section .note.GNU-stack,"",%progbits

View File

@ -25,3 +25,5 @@ ENTRY(truncf)
leave
ret
END(truncf)
.section .note.GNU-stack,"",%progbits

View File

@ -25,3 +25,5 @@ ENTRY(truncl)
leave
ret
END(truncl)
.section .note.GNU-stack,"",%progbits