Browse Source

Adds the security section to instruct ld to protect the stack

Yann Weber 1 year ago
parent
commit
f7716ebc03
1 changed files with 2 additions and 0 deletions
  1. 2
    0
      rpn_lib.asm

+ 2
- 0
rpn_lib.asm View File

@@ -38,6 +38,8 @@
38 38
 	global %1_sz
39 39
 %endmacro
40 40
 
41
+section .note.GNU-stack noalloc noexec nowrite progbits
42
+
41 43
 section .data
42 44
 
43 45
 rpn_exec:

Loading…
Cancel
Save