]> git.ipfire.org Git - thirdparty/zstd.git/commit
Mark Huffman Decoder Assembly `noexecstack` on All Architectures
authorW. Felix Handte <w@felixhandte.com>
Thu, 30 Dec 2021 01:47:12 +0000 (17:47 -0800)
committerW. Felix Handte <w@felixhandte.com>
Thu, 30 Dec 2021 01:47:12 +0000 (17:47 -0800)
commit9a9d1ec6f4536ffeb745f360ef010cefd125bfd0
tree2b586563e92f68d285b861e1196037cfbe666705
parentfb14e2288e95c3e7a8189e86d4034b7a358f6267
Mark Huffman Decoder Assembly `noexecstack` on All Architectures

Apparently, even when the assembly file is empty (because
`ZSTD_ENABLE_ASM_X86_64_BMI2` is false), it still is marked as possibly
needing an executable stack and so the whole library is marked as such. This
commit applies a simple patch for this problem by moving the noexecstack
indication outside the macro guard.

This commit builds on #2857.

This commit addresses #2963.
lib/decompress/huf_decompress_amd64.S