From b12edddb3784c59c459a40f6108027b0bcedaf2f Mon Sep 17 00:00:00 2001 From: "W. Felix Handte" Date: Wed, 5 Jan 2022 15:42:58 -0500 Subject: [PATCH] Write `GNU-stack` Section on All ELF Architectures Previously we did this only on Linux, which missed other Unices. --- lib/decompress/huf_decompress_amd64.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/decompress/huf_decompress_amd64.S b/lib/decompress/huf_decompress_amd64.S index 706786bb0..d2fb90ca1 100644 --- a/lib/decompress/huf_decompress_amd64.S +++ b/lib/decompress/huf_decompress_amd64.S @@ -3,7 +3,7 @@ /* Stack marking * ref: https://wiki.gentoo.org/wiki/Hardened/GNU_stack_quickstart */ -#if defined(__linux__) && defined(__ELF__) +#if defined(__ELF__) .section .note.GNU-stack,"",%progbits #endif -- 2.47.2