diff options
-rw-r--r-- | lib/csu/amd64/crti.S | 2 | ||||
-rw-r--r-- | lib/csu/amd64/crtn.S | 2 | ||||
-rw-r--r-- | lib/csu/i386-elf/crt1_s.S | 2 | ||||
-rw-r--r-- | lib/csu/i386-elf/crti.S | 2 | ||||
-rw-r--r-- | lib/csu/i386-elf/crtn.S | 2 |
5 files changed, 10 insertions, 0 deletions
diff --git a/lib/csu/amd64/crti.S b/lib/csu/amd64/crti.S index 37698ba..618dca1 100644 --- a/lib/csu/amd64/crti.S +++ b/lib/csu/amd64/crti.S @@ -39,3 +39,5 @@ _init: .type _fini,@function _fini: subq $8,%rsp + + .section .note.GNU-stack,"",%progbits diff --git a/lib/csu/amd64/crtn.S b/lib/csu/amd64/crtn.S index eb6d4df..c411f00 100644 --- a/lib/csu/amd64/crtn.S +++ b/lib/csu/amd64/crtn.S @@ -33,3 +33,5 @@ __FBSDID("$FreeBSD$"); .section .fini,"ax",@progbits addq $8,%rsp ret + + .section .note.GNU-stack,"",%progbits diff --git a/lib/csu/i386-elf/crt1_s.S b/lib/csu/i386-elf/crt1_s.S index f8c1d73..d7ed0a2 100644 --- a/lib/csu/i386-elf/crt1_s.S +++ b/lib/csu/i386-elf/crt1_s.S @@ -49,3 +49,5 @@ _start: int3 .cfi_endproc .size _start, . - _start + + .section .note.GNU-stack,"",%progbits diff --git a/lib/csu/i386-elf/crti.S b/lib/csu/i386-elf/crti.S index 608dc21..77e4e77 100644 --- a/lib/csu/i386-elf/crti.S +++ b/lib/csu/i386-elf/crti.S @@ -39,3 +39,5 @@ _init: .type _fini,@function _fini: sub $12,%esp /* re-align stack pointer */ + + .section .note.GNU-stack,"",%progbits diff --git a/lib/csu/i386-elf/crtn.S b/lib/csu/i386-elf/crtn.S index 9ce5bec..0264e22 100644 --- a/lib/csu/i386-elf/crtn.S +++ b/lib/csu/i386-elf/crtn.S @@ -33,3 +33,5 @@ __FBSDID("$FreeBSD$"); .section .fini,"ax",@progbits add $12,%esp ret + + .section .note.GNU-stack,"",%progbits |