Skip to content

Commit 60b3f34

Browse files
committed
Avoid executable stack by marking that it's not required.
Also refer to: fluent/fluent-bit#10513 Signed-off-by: Jaco Kroon <[email protected]>
1 parent 23799a2 commit 60b3f34

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

core/iwasm/common/arch/invokeNative_em64.s

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,3 +62,6 @@ push_args_end:
6262
leave
6363
ret
6464

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

0 commit comments

Comments
 (0)