Skip to content

Commit 26fc76a

Browse files
committed
rt/arch/arm: fix syntax used for noexec stack
1 parent be79258 commit 26fc76a

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

src/rt/arch/arm/_context.S

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Mark stack as non-executable
22
#if defined(__linux__) && defined(__ELF__)
3-
.section .note.GNU-stack, "", @progbits
3+
.section .note.GNU-stack, "", %progbits
44
#endif
55

66
.text

src/rt/arch/arm/ccall.S

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Mark stack as non-executable
22
#if defined(__linux__) && defined(__ELF__)
3-
.section .note.GNU-stack, "", @progbits
3+
.section .note.GNU-stack, "", %progbits
44
#endif
55

66
.text

src/rt/arch/arm/morestack.S

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Mark stack as non-executable
22
#if defined(__linux__) && defined(__ELF__)
3-
.section .note.GNU-stack, "", @progbits
3+
.section .note.GNU-stack, "", %progbits
44
#endif
55

66
.text

src/rt/arch/arm/record_sp.S

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Mark stack as non-executable
22
#if defined(__linux__) && defined(__ELF__)
3-
.section .note.GNU-stack, "", @progbits
3+
.section .note.GNU-stack, "", %progbits
44
#endif
55

66
.text

0 commit comments

Comments
 (0)