Skip to content

Commit

Permalink
Merge pull request #20307 from Wer-Wolf/exec_stack
Browse files Browse the repository at this point in the history
cpu/native: Fix executable stack warning
  • Loading branch information
OlegHahm authored Jan 29, 2024
2 parents 8f111a3 + d04df84 commit 71fed48
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cpu/native/tramp.S
Original file line number Diff line number Diff line change
Expand Up @@ -93,3 +93,7 @@ _native_sig_leave_handler:
movl $0x0, _native_in_isr
ret
#endif

#if defined(__linux__) && defined(__ELF__)
.section .note.GNU-stack,"",%progbits
#endif

0 comments on commit 71fed48

Please sign in to comment.