diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-06-22 00:41:53 -0500 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-06-22 00:41:53 -0500 |
commit | e5948b872087d4bd939ee52921146417967f3fd9 (patch) | |
tree | 5b991deef2a930da925d1932d4cef7cfcb2a7b1b /system/zip/20-zip-3.0-exec-stack.patch | |
parent | 3a90a9469a33579c60320149a882aa8157814bfe (diff) | |
download | packages-e5948b872087d4bd939ee52921146417967f3fd9.tar.gz packages-e5948b872087d4bd939ee52921146417967f3fd9.tar.bz2 packages-e5948b872087d4bd939ee52921146417967f3fd9.tar.xz packages-e5948b872087d4bd939ee52921146417967f3fd9.zip |
system/zip: pull in for gcc
Diffstat (limited to 'system/zip/20-zip-3.0-exec-stack.patch')
-rw-r--r-- | system/zip/20-zip-3.0-exec-stack.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/system/zip/20-zip-3.0-exec-stack.patch b/system/zip/20-zip-3.0-exec-stack.patch new file mode 100644 index 000000000..5bf78d7da --- /dev/null +++ b/system/zip/20-zip-3.0-exec-stack.patch @@ -0,0 +1,22 @@ +add proper GNU stack markings so we dont get the default: executable + +--- a/crc_i386.S Wed Jan 28 22:22:13 2009 ++++ b/crc_i386.S Wed Jan 28 22:27:04 2009 +@@ -302,3 +302,7 @@ + #endif /* i386 || _i386 || _I386 || __i386 */ + + #endif /* !USE_ZLIB && !CRC_TABLE_ONLY */ ++ ++#if defined __ELF__ && defined __linux__ ++.section .note.GNU-stack,"",@progbits ++#endif +--- a/match.S Wed Jan 28 22:22:13 2009 ++++ b/match.S Wed Jan 28 22:27:04 2009 +@@ -405,3 +405,7 @@ + #endif /* i386 || _I386 || _i386 || __i386 */ + + #endif /* !USE_ZLIB */ ++ ++#if defined __ELF__ && defined __linux__ ++.section .note.GNU-stack,"",@progbits ++#endif |