Skip to content

Use --noexecstack for assembly code #34

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 22, 2013
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions amd64/e_remainder.S
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,7 @@ ENTRY(remainder)
ret


/* Enable stack protection */
#if defined(__linux__) && defined(__ELF__)
.section .note.GNU-stack,"",%progbits
#endif
4 changes: 4 additions & 0 deletions amd64/e_remainderf.S
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,7 @@ ENTRY(remainderf)
ret


/* Enable stack protection */
#if defined(__linux__) && defined(__ELF__)
.section .note.GNU-stack,"",%progbits
#endif
4 changes: 4 additions & 0 deletions amd64/e_remainderl.S
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,7 @@ ENTRY(remainderl)
ret


/* Enable stack protection */
#if defined(__linux__) && defined(__ELF__)
.section .note.GNU-stack,"",%progbits
#endif
4 changes: 4 additions & 0 deletions amd64/e_sqrt.S
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,7 @@ END(sqrt)



/* Enable stack protection */
#if defined(__linux__) && defined(__ELF__)
.section .note.GNU-stack,"",%progbits
#endif
4 changes: 4 additions & 0 deletions amd64/e_sqrtf.S
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,7 @@ ENTRY(sqrtf)
END(sqrtf)


/* Enable stack protection */
#if defined(__linux__) && defined(__ELF__)
.section .note.GNU-stack,"",%progbits
#endif
4 changes: 4 additions & 0 deletions amd64/e_sqrtl.S
Original file line number Diff line number Diff line change
Expand Up @@ -40,3 +40,7 @@ ENTRY(sqrtl)
#endif
ret

/* Enable stack protection */
#if defined(__linux__) && defined(__ELF__)
.section .note.GNU-stack,"",%progbits
#endif
4 changes: 4 additions & 0 deletions amd64/s_llrint.S
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,7 @@ ENTRY(llrint)
ret
END(llrint)

/* Enable stack protection */
#if defined(__linux__) && defined(__ELF__)
.section .note.GNU-stack,"",%progbits
#endif
4 changes: 4 additions & 0 deletions amd64/s_llrintf.S
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,7 @@ ENTRY(llrintf)
ret
END(llrintf)

/* Enable stack protection */
#if defined(__linux__) && defined(__ELF__)
.section .note.GNU-stack,"",%progbits
#endif
4 changes: 4 additions & 0 deletions amd64/s_llrintl.S
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,7 @@ ENTRY(llrintl)
ret


/* Enable stack protection */
#if defined(__linux__) && defined(__ELF__)
.section .note.GNU-stack,"",%progbits
#endif
4 changes: 4 additions & 0 deletions amd64/s_logbl.S
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,7 @@ ENTRY(logbl)
ret


/* Enable stack protection */
#if defined(__linux__) && defined(__ELF__)
.section .note.GNU-stack,"",%progbits
#endif
4 changes: 4 additions & 0 deletions amd64/s_lrint.S
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,7 @@ ENTRY(lrint)
END(lrint)


/* Enable stack protection */
#if defined(__linux__) && defined(__ELF__)
.section .note.GNU-stack,"",%progbits
#endif
4 changes: 4 additions & 0 deletions amd64/s_lrintf.S
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,7 @@ ENTRY(lrintf)
END(lrintf)


/* Enable stack protection */
#if defined(__linux__) && defined(__ELF__)
.section .note.GNU-stack,"",%progbits
#endif
4 changes: 4 additions & 0 deletions amd64/s_lrintl.S
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,7 @@ ENTRY(lrintl)
ret


/* Enable stack protection */
#if defined(__linux__) && defined(__ELF__)
.section .note.GNU-stack,"",%progbits
#endif
4 changes: 4 additions & 0 deletions amd64/s_remquo.S
Original file line number Diff line number Diff line change
Expand Up @@ -70,3 +70,7 @@ ENTRY(remquo)
END(remquo)


/* Enable stack protection */
#if defined(__linux__) && defined(__ELF__)
.section .note.GNU-stack,"",%progbits
#endif
4 changes: 4 additions & 0 deletions amd64/s_remquof.S
Original file line number Diff line number Diff line change
Expand Up @@ -70,3 +70,7 @@ ENTRY(remquof)
END(remquof)


/* Enable stack protection */
#if defined(__linux__) && defined(__ELF__)
.section .note.GNU-stack,"",%progbits
#endif
4 changes: 4 additions & 0 deletions amd64/s_remquol.S
Original file line number Diff line number Diff line change
Expand Up @@ -75,3 +75,7 @@ ENTRY(remquol)
ret


/* Enable stack protection */
#if defined(__linux__) && defined(__ELF__)
.section .note.GNU-stack,"",%progbits
#endif
4 changes: 4 additions & 0 deletions amd64/s_rintl.S
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,7 @@ ENTRY(rintl)
ret


/* Enable stack protection */
#if defined(__linux__) && defined(__ELF__)
.section .note.GNU-stack,"",%progbits
#endif
4 changes: 4 additions & 0 deletions amd64/s_scalbn.S
Original file line number Diff line number Diff line change
Expand Up @@ -45,3 +45,7 @@ END(scalbn)

.globl CNAME(ldexp)
.set CNAME(ldexp),CNAME(scalbn)
/* Enable stack protection */
#if defined(__linux__) && defined(__ELF__)
.section .note.GNU-stack,"",%progbits
#endif
4 changes: 4 additions & 0 deletions amd64/s_scalbnf.S
Original file line number Diff line number Diff line change
Expand Up @@ -47,3 +47,7 @@ END(scalbnf)
.set CNAME(ldexpf),CNAME(scalbnf)


/* Enable stack protection */
#if defined(__linux__) && defined(__ELF__)
.section .note.GNU-stack,"",%progbits
#endif
4 changes: 4 additions & 0 deletions amd64/s_scalbnl.S
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,7 @@ END(scalbnl)
.set CNAME(ldexpl),CNAME(scalbnl)


/* Enable stack protection */
#if defined(__linux__) && defined(__ELF__)
.section .note.GNU-stack,"",%progbits
#endif
5 changes: 5 additions & 0 deletions i387/e_exp.S
Original file line number Diff line number Diff line change
Expand Up @@ -69,3 +69,8 @@ x_not_minus_Inf:
END(exp)

//

/* Enable stack protection */
#if defined(__linux__) && defined(__ELF__)
.section .note.GNU-stack,"",%progbits
#endif
4 changes: 4 additions & 0 deletions i387/e_fmod.S
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,7 @@ ENTRY(fmod)
END(fmod)


/* Enable stack protection */
#if defined(__linux__) && defined(__ELF__)
.section .note.GNU-stack,"",%progbits
#endif
4 changes: 4 additions & 0 deletions i387/e_log.S
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,7 @@ ENTRY(log)
END(log)


/* Enable stack protection */
#if defined(__linux__) && defined(__ELF__)
.section .note.GNU-stack,"",%progbits
#endif
4 changes: 4 additions & 0 deletions i387/e_log10.S
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,7 @@ ENTRY(log10)
END(log10)


/* Enable stack protection */
#if defined(__linux__) && defined(__ELF__)
.section .note.GNU-stack,"",%progbits
#endif
4 changes: 4 additions & 0 deletions i387/e_log10f.S
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,7 @@ ENTRY(log10f)
END(log10f)


/* Enable stack protection */
#if defined(__linux__) && defined(__ELF__)
.section .note.GNU-stack,"",%progbits
#endif
4 changes: 4 additions & 0 deletions i387/e_logf.S
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,7 @@ ENTRY(logf)
ret


/* Enable stack protection */
#if defined(__linux__) && defined(__ELF__)
.section .note.GNU-stack,"",%progbits
#endif
4 changes: 4 additions & 0 deletions i387/e_remainder.S
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,7 @@ ENTRY(remainder)
END(remainder)


/* Enable stack protection */
#if defined(__linux__) && defined(__ELF__)
.section .note.GNU-stack,"",%progbits
#endif
4 changes: 4 additions & 0 deletions i387/e_remainderf.S
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,7 @@ ENTRY(remainderf)
END(remainderf)


/* Enable stack protection */
#if defined(__linux__) && defined(__ELF__)
.section .note.GNU-stack,"",%progbits
#endif
4 changes: 4 additions & 0 deletions i387/e_remainderl.S
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,7 @@ ENTRY(remainderl)
ret


/* Enable stack protection */
#if defined(__linux__) && defined(__ELF__)
.section .note.GNU-stack,"",%progbits
#endif
4 changes: 4 additions & 0 deletions i387/e_sqrt.S
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,7 @@ ENTRY(sqrt)
END(sqrt)


/* Enable stack protection */
#if defined(__linux__) && defined(__ELF__)
.section .note.GNU-stack,"",%progbits
#endif
4 changes: 4 additions & 0 deletions i387/e_sqrtf.S
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,7 @@ ENTRY(sqrtf)
END(sqrtf)


/* Enable stack protection */
#if defined(__linux__) && defined(__ELF__)
.section .note.GNU-stack,"",%progbits
#endif
4 changes: 4 additions & 0 deletions i387/e_sqrtl.S
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,7 @@ ENTRY(sqrtl)
ret


/* Enable stack protection */
#if defined(__linux__) && defined(__ELF__)
.section .note.GNU-stack,"",%progbits
#endif
4 changes: 4 additions & 0 deletions i387/s_ceil.S
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,7 @@ ENTRY(ceil)
END(ceil)


/* Enable stack protection */
#if defined(__linux__) && defined(__ELF__)
.section .note.GNU-stack,"",%progbits
#endif
4 changes: 4 additions & 0 deletions i387/s_ceilf.S
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,7 @@ ENTRY(ceilf)
END(ceilf)


/* Enable stack protection */
#if defined(__linux__) && defined(__ELF__)
.section .note.GNU-stack,"",%progbits
#endif
4 changes: 4 additions & 0 deletions i387/s_ceill.S
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,7 @@ ENTRY(ceill)
END(ceill)


/* Enable stack protection */
#if defined(__linux__) && defined(__ELF__)
.section .note.GNU-stack,"",%progbits
#endif
4 changes: 4 additions & 0 deletions i387/s_copysign.S
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,7 @@ ENTRY(copysign)
END(copysign)


/* Enable stack protection */
#if defined(__linux__) && defined(__ELF__)
.section .note.GNU-stack,"",%progbits
#endif
4 changes: 4 additions & 0 deletions i387/s_copysignf.S
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,7 @@ ENTRY(copysignf)
END(copysignf)


/* Enable stack protection */
#if defined(__linux__) && defined(__ELF__)
.section .note.GNU-stack,"",%progbits
#endif
4 changes: 4 additions & 0 deletions i387/s_copysignl.S
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,7 @@ ENTRY(copysignl)
END(copysignl)


/* Enable stack protection */
#if defined(__linux__) && defined(__ELF__)
.section .note.GNU-stack,"",%progbits
#endif
4 changes: 4 additions & 0 deletions i387/s_cos.S
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,7 @@ ENTRY(cos)
END(cos)


/* Enable stack protection */
#if defined(__linux__) && defined(__ELF__)
.section .note.GNU-stack,"",%progbits
#endif
4 changes: 4 additions & 0 deletions i387/s_finite.S
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,7 @@ ENTRY(finite)
END(finite)


/* Enable stack protection */
#if defined(__linux__) && defined(__ELF__)
.section .note.GNU-stack,"",%progbits
#endif
4 changes: 4 additions & 0 deletions i387/s_floor.S
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,7 @@ ENTRY(floor)
END(floor)


/* Enable stack protection */
#if defined(__linux__) && defined(__ELF__)
.section .note.GNU-stack,"",%progbits
#endif
4 changes: 4 additions & 0 deletions i387/s_floorf.S
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,7 @@ ENTRY(floorf)
END(floorf)


/* Enable stack protection */
#if defined(__linux__) && defined(__ELF__)
.section .note.GNU-stack,"",%progbits
#endif
4 changes: 4 additions & 0 deletions i387/s_floorl.S
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,7 @@ ENTRY(floorl)
END(floorl)


/* Enable stack protection */
#if defined(__linux__) && defined(__ELF__)
.section .note.GNU-stack,"",%progbits
#endif
4 changes: 4 additions & 0 deletions i387/s_llrint.S
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,7 @@ ENTRY(llrint)
END(llrint)


/* Enable stack protection */
#if defined(__linux__) && defined(__ELF__)
.section .note.GNU-stack,"",%progbits
#endif
4 changes: 4 additions & 0 deletions i387/s_llrintf.S
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,7 @@ ENTRY(llrintf)
END(llrintf)


/* Enable stack protection */
#if defined(__linux__) && defined(__ELF__)
.section .note.GNU-stack,"",%progbits
#endif
4 changes: 4 additions & 0 deletions i387/s_llrintl.S
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,7 @@ ENTRY(llrintl)
ret


/* Enable stack protection */
#if defined(__linux__) && defined(__ELF__)
.section .note.GNU-stack,"",%progbits
#endif
4 changes: 4 additions & 0 deletions i387/s_logb.S
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,7 @@ ENTRY(logb)
END(logb)


/* Enable stack protection */
#if defined(__linux__) && defined(__ELF__)
.section .note.GNU-stack,"",%progbits
#endif
4 changes: 4 additions & 0 deletions i387/s_logbf.S
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,7 @@ ENTRY(logbf)
END(logbf)


/* Enable stack protection */
#if defined(__linux__) && defined(__ELF__)
.section .note.GNU-stack,"",%progbits
#endif
4 changes: 4 additions & 0 deletions i387/s_logbl.S
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,7 @@ ENTRY(logbl)
ret


/* Enable stack protection */
#if defined(__linux__) && defined(__ELF__)
.section .note.GNU-stack,"",%progbits
#endif
Loading