mirror of
https://github.com/facebook/zstd.git
synced 2025-12-10 00:06:51 -05:00
Merge pull request #2857 from ko-zu/noexecstack
Remove executable flag from GNU_STACK segment
This commit is contained in:
commit
f343f27d17
@ -1,5 +1,12 @@
|
|||||||
#if !defined(HUF_DISABLE_ASM) && defined(__x86_64__)
|
#if !defined(HUF_DISABLE_ASM) && defined(__x86_64__)
|
||||||
|
|
||||||
|
/* Stack marking
|
||||||
|
* ref: https://wiki.gentoo.org/wiki/Hardened/GNU_stack_quickstart
|
||||||
|
*/
|
||||||
|
#if defined(__linux__) && defined(__ELF__)
|
||||||
|
.section .note.GNU-stack,"",%progbits
|
||||||
|
#endif
|
||||||
|
|
||||||
/* Calling convention:
|
/* Calling convention:
|
||||||
*
|
*
|
||||||
* %rdi contains the first argument: HUF_DecompressAsmArgs*.
|
* %rdi contains the first argument: HUF_DecompressAsmArgs*.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user