Skip to content

Commit

Permalink
Mark asm files with non-executable stack section. Fixes #569
Browse files Browse the repository at this point in the history
  • Loading branch information
TomTheBear committed Nov 1, 2023
1 parent ecb03a1 commit cd961b1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/loadData.S
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
.intel_syntax noprefix

.section .note.GNU-stack,"",@progbits
.text
.globl _loadData
.type _loadData, @function
Expand Down
1 change: 1 addition & 0 deletions src/loadDataARM.S
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
.fpu neon-vfpv4
.globl loadDataARM
.align 2
.section .note.GNU-stack,"",@progbits
.type loadDataARM,%function
loadDataARM:

Expand Down

0 comments on commit cd961b1

Please sign in to comment.