diff options
Diffstat (limited to 'stack-noexec.patch')
-rw-r--r-- | stack-noexec.patch | 93 |
1 files changed, 0 insertions, 93 deletions
diff --git a/stack-noexec.patch b/stack-noexec.patch deleted file mode 100644 index f9f76470c1d8..000000000000 --- a/stack-noexec.patch +++ /dev/null @@ -1,93 +0,0 @@ -diff -ur a/src/asm_ia32/a.asm b/src/asm_ia32/a.asm ---- a/src/asm_ia32/a.asm 2013-07-03 02:47:30.000000000 +0200 -+++ b/src/asm_ia32/a.asm 2013-07-13 11:44:21.263874289 +0200 -@@ -810,3 +810,13 @@ - GLOBAL _rtext_a_end
- _rtext_a_end:
- %endif
-+
-+%ifidn __OUTPUT_FORMAT__,elf
-+section .note.GNU-stack noalloc noexec nowrite progbits
-+%endif
-+%ifidn __OUTPUT_FORMAT__,elf32
-+section .note.GNU-stack noalloc noexec nowrite progbits
-+%endif
-+%ifidn __OUTPUT_FORMAT__,elf64
-+section .note.GNU-stack noalloc noexec nowrite progbits
-+%endif
-diff -ur a/src/asm_ia32/misc.asm b/src/asm_ia32/misc.asm ---- a/src/asm_ia32/misc.asm 2013-07-03 02:47:30.000000000 +0200 -+++ b/src/asm_ia32/misc.asm 2013-07-13 11:44:21.263874289 +0200 -@@ -198,3 +198,13 @@ - pop ebx
- emms
- ret
-+
-+%ifidn __OUTPUT_FORMAT__,elf
-+section .note.GNU-stack noalloc noexec nowrite progbits
-+%endif
-+%ifidn __OUTPUT_FORMAT__,elf32
-+section .note.GNU-stack noalloc noexec nowrite progbits
-+%endif
-+%ifidn __OUTPUT_FORMAT__,elf64
-+section .note.GNU-stack noalloc noexec nowrite progbits
-+%endif
-diff -ur a/src/asm_ia32/tmap.asm b/src/asm_ia32/tmap.asm ---- a/src/asm_ia32/tmap.asm 2013-07-03 02:47:30.000000000 +0200 -+++ b/src/asm_ia32/tmap.asm 2013-07-13 11:44:21.263874289 +0200 -@@ -1891,3 +1891,13 @@ - selfmod rtext_start, rtext_end
- call setpitch3
- jmp setvlinebpl_
-+
-+%ifidn __OUTPUT_FORMAT__,elf
-+section .note.GNU-stack noalloc noexec nowrite progbits
-+%endif
-+%ifidn __OUTPUT_FORMAT__,elf32
-+section .note.GNU-stack noalloc noexec nowrite progbits
-+%endif
-+%ifidn __OUTPUT_FORMAT__,elf64
-+section .note.GNU-stack noalloc noexec nowrite progbits
-+%endif
-diff -ur a/src/asm_ia32/tmap2.asm b/src/asm_ia32/tmap2.asm ---- a/src/asm_ia32/tmap2.asm 2013-07-03 02:47:30.000000000 +0200 -+++ b/src/asm_ia32/tmap2.asm 2013-07-13 11:44:21.263874289 +0200 -@@ -638,3 +638,13 @@ - GLOBAL _rtext_tmap2_end
- _rtext_tmap2_end:
- %endif
-+
-+%ifidn __OUTPUT_FORMAT__,elf
-+section .note.GNU-stack noalloc noexec nowrite progbits
-+%endif
-+%ifidn __OUTPUT_FORMAT__,elf32
-+section .note.GNU-stack noalloc noexec nowrite progbits
-+%endif
-+%ifidn __OUTPUT_FORMAT__,elf64
-+section .note.GNU-stack noalloc noexec nowrite progbits
-+%endif
-diff -ur a/src/asm_ia32/tmap3.asm b/src/asm_ia32/tmap3.asm ---- a/src/asm_ia32/tmap3.asm 2013-07-03 02:47:30.000000000 +0200 -+++ b/src/asm_ia32/tmap3.asm 2013-07-13 11:44:21.263874289 +0200 -@@ -342,3 +342,13 @@ - GLOBAL _rtext_tmap3_end
- _rtext_tmap3_end:
- %endif
-+
-+%ifidn __OUTPUT_FORMAT__,elf
-+section .note.GNU-stack noalloc noexec nowrite progbits
-+%endif
-+%ifidn __OUTPUT_FORMAT__,elf32
-+section .note.GNU-stack noalloc noexec nowrite progbits
-+%endif
-+%ifidn __OUTPUT_FORMAT__,elf64
-+section .note.GNU-stack noalloc noexec nowrite progbits
-+%endif
-diff -ur a/src/asm_x86_64/tmap3.s b/src/asm_x86_64/tmap3.s ---- a/src/asm_x86_64/tmap3.s 2013-07-03 02:47:30.000000000 +0200 -+++ b/src/asm_x86_64/tmap3.s 2013-07-13 11:46:03.960542714 +0200 -@@ -139,3 +139,4 @@ - .align 16
-
-
-+ .section .note.GNU-stack,"",@progbits
|