diff --git a/patchcompile/emit.cpp b/patchcompile/emit.cpp index 0ee15df..eccd231 100644 --- a/patchcompile/emit.cpp +++ b/patchcompile/emit.cpp @@ -314,6 +314,7 @@ bool emit_patcher_program_asm(std::ostream& out) { if (!emit_dpins(out, dpin_recs)) return false; + out << ".section .note.GNU-stack,\"\",@progbits\n"; return !!out; }