14 lines
478 B
Diff
14 lines
478 B
Diff
diff --git a/lib/builtins/assembly.h b/lib/builtins/assembly.h
|
|
index 3f5e59b2544..97d06d6ccd1 100644
|
|
--- a/lib/builtins/assembly.h
|
|
+++ b/lib/builtins/assembly.h
|
|
@@ -45,7 +45,7 @@
|
|
#define CONST_SECTION .section .rodata
|
|
|
|
#if defined(__GNU__) || defined(__FreeBSD__) || defined(__Fuchsia__) || \
|
|
- defined(__linux__)
|
|
+ defined(__linux__) || defined(__GENODE__)
|
|
#define NO_EXEC_STACK_DIRECTIVE .section .note.GNU-stack,"",%progbits
|
|
#else
|
|
#define NO_EXEC_STACK_DIRECTIVE
|