head 1.2; access; symbols; locks; strict; comment @# @; 1.2 date 2026.11.09.15.55.24; author wiz; state dead; branches; next 1.1; commitid TQjekGBASUkbNN2H; 1.1 date 2026.11.09.15.54.57; author wiz; state Exp; branches; next ; commitid Vz32Fx6YLYDJMN2H; desc @@ 1.2 log @zstd: remove backup files @ text @$NetBSD: patch-lib_decompress_huf__decompress__amd64.S.orig,v 1.1 2026/11/09 15:54:57 wiz Exp $ Move the stack marking stuff inside the ifdef, as it doesn't necessarily work on non-amd64. --- lib/decompress/huf_decompress_amd64.S.orig 2025-02-19 00:04:24.000000000 +0000 +++ lib/decompress/huf_decompress_amd64.S @@@@ -10,6 +10,7 @@@@ #include "../common/portability_macros.h" +#if ZSTD_ENABLE_ASM_X86_64_BMI2 #if defined(__ELF__) && defined(__GNUC__) /* Stack marking * ref: https://wiki.gentoo.org/wiki/Hardened/GNU_stack_quickstart @@@@ -38,8 +39,6 @@@@ #endif -#if ZSTD_ENABLE_ASM_X86_64_BMI2 - /* Calling convention: * * %rdi (or %rcx on Windows) contains the first argument: HUF_DecompressAsmArgs*. @ 1.1 log @zstd: fix build with lz4 1.11. From upstream bug report. https://github.com/meta/zstd/issues/4897 regen patch while here. @ text @d1 1 a1 1 $NetBSD: patch-lib_decompress_huf__decompress__amd64.S,v 1.3 2025/02/20 08:10:34 adam Exp $ @