Skip to content

Commit

Permalink
Only add note.GNU-stack on Linux
Browse files Browse the repository at this point in the history
Signed-off-by: Keith W. Campbell <[email protected]>
  • Loading branch information
keithc-ca committed Oct 2, 2024
1 parent 79984d0 commit 0fa59db
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions runtime/oti/xhelpers.m4
Original file line number Diff line number Diff line change
Expand Up @@ -110,9 +110,9 @@ define({START_PROC},{
GLOBAL_SYMBOL($1):
})

define({FILE_END},{
define({FILE_END},{ifdef({LINUX},{
.section .note.GNU-stack,"",@progbits
})
})})

define({END_PROC},{
END_$1:
Expand Down

0 comments on commit 0fa59db

Please sign in to comment.