Skip to content

Commit c51ea4f

Browse files
authored
Merge branch 'master' into fix/riscv
2 parents a91cde1 + e2482c9 commit c51ea4f

File tree

3 files changed

+15
-0
lines changed

3 files changed

+15
-0
lines changed

amd64/e_fmod.S

+5
Original file line numberDiff line numberDiff line change
@@ -49,3 +49,8 @@ ENTRY(fmod)
4949
fstp %st
5050
ret
5151
END(fmod)
52+
53+
/* Enable stack protection */
54+
#if defined(__ELF__)
55+
.section .note.GNU-stack,"",%progbits
56+
#endif

amd64/e_fmodf.S

+5
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,8 @@ ENTRY(fmodf)
1919
fstp %st
2020
ret
2121
END(fmodf)
22+
23+
/* Enable stack protection */
24+
#if defined(__ELF__)
25+
.section .note.GNU-stack,"",%progbits
26+
#endif

amd64/e_fmodl.S

+5
Original file line numberDiff line numberDiff line change
@@ -45,3 +45,8 @@ ENTRY(fmodl)
4545
fstp %st(1)
4646
ret
4747
END(fmodl)
48+
49+
/* Enable stack protection */
50+
#if defined(__ELF__)
51+
.section .note.GNU-stack,"",%progbits
52+
#endif

0 commit comments

Comments
 (0)