mirror of
https://github.com/nodejs/node.git
synced 2026-11-24 21:50:36 -05:00
src: add .note.GNU-stack section
This indicates to GNU binutils that it can unset the executable stack flag on the binary that it is building. PR-URL: https://github.com/nodejs/node/pull/37688 Refs: https://github.com/nodejs/node/issues/17933 Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
This commit is contained in:
1 parent
6d7c7bc8d9
commit
eb0faa12df
1 file changed
+3
@@ -1,3 +1,6 @@
|
||||
#if defined(__ELF__)
|
||||
.section .note.GNU-stack,"",@progbits
|
||||
#endif
|
||||
.text
|
||||
.align 0x2000
|
||||
.global __node_text_start
|
||||
|
||||
Reference in new issue
Block a user