fixes scrypt-*.S for grsecurity-enabled kernels, noexecstack
[novacoin.git] / src / scrypt-x86.S
index 33b6cd1..0e97e36 100644 (file)
 
 #if defined(__i386__)
 
+#if defined(__linux__) && defined(__ELF__)
+.section .note.GNU-stack,"",%progbits
+#endif
+
 #define gen_salsa8_core_quadround() \
        movl    52(%esp), %ecx; \
        movl    4(%esp), %edx; \