Skip to content

Commit

Permalink
fix executable stack warning in kernel_align_x{64,86}
Browse files Browse the repository at this point in the history
  • Loading branch information
giaf committed Nov 18, 2024
1 parent 9c2a834 commit 095152b
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
9 changes: 9 additions & 0 deletions kernel/sse3/kernel_align_x64.S
Original file line number Diff line number Diff line change
Expand Up @@ -269,3 +269,12 @@ blasfeo_align_64_byte:
#endif





#if defined(OS_LINUX)
.section .note.GNU-stack,"",@progbits
#elif defined(OS_MAC)
.subsections_via_symbols
#endif

8 changes: 8 additions & 0 deletions kernel/sse3_x86/kernel_align_x86.S
Original file line number Diff line number Diff line change
Expand Up @@ -170,3 +170,11 @@ blasfeo_align_64_byte:





#if defined(OS_LINUX)
.section .note.GNU-stack,"",@progbits
#elif defined(OS_MAC)
.subsections_via_symbols
#endif

0 comments on commit 095152b

Please sign in to comment.