Skip to content

Commit 836cb67

Browse files
jayaddisonruyadorno
authored andcommitted
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: #37688 Refs: #17933 Reviewed-By: Daniel Bevenius <[email protected]>
1 parent 01dcf4d commit 836cb67

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/large_pages/node_text_start.S

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
#if defined(__ELF__)
2+
.section .note.GNU-stack,"",@progbits
3+
#endif
14
.text
25
.align 0x2000
36
.global __node_text_start

0 commit comments

Comments
 (0)