summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-arch/gzip/files/gzip-1.3.5-asm-execstack.patch')
-rw-r--r--app-arch/gzip/files/gzip-1.3.5-asm-execstack.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/app-arch/gzip/files/gzip-1.3.5-asm-execstack.patch b/app-arch/gzip/files/gzip-1.3.5-asm-execstack.patch
new file mode 100644
index 000000000000..40cda597ae7b
--- /dev/null
+++ b/app-arch/gzip/files/gzip-1.3.5-asm-execstack.patch
@@ -0,0 +1,15 @@
+Ripped from Fedora.
+Include stack markings in the asm code so the final binary
+isn't assumed to require executable markings.
+--- gzip-1.3.5/match.c
++++ gzip-1.3.5/match.c
+@@ -54,6 +54,9 @@
+ .globl _match_init
+ .globl _longest_match
+
++ .section .note.GNU-stack, "", @progbits
++ .previous
++
+ .text
+
+ _match_init: