motiejus/zig

fork of https://codeberg.org/ziglang/zig
git clone https://git.jakstys.lt/motiejus/zig.git
Log | Tree | Refs | README | LICENSE

commit a703b85c7c213a06a3d758f652cc3137c5f0b60b (tree)
parent a9c7714b784eeb5e57f6bc718c1e621461dca532
Author: Alex Rønne Petersen <alex@alexrp.com>
Date:   Mon, 18 Nov 2024 13:16:55 +0100

libunwind: Fix compilation for the x32 ABI.

See: https://github.com/llvm/llvm-project/pull/116608

Diffstat:
Mlib/libunwind/include/__libunwind_config.h | 3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git a/lib/libunwind/include/__libunwind_config.h b/lib/libunwind/include/__libunwind_config.h @@ -53,6 +53,9 @@ # else # define _LIBUNWIND_CURSOR_SIZE 66 # endif +# elif defined(__ILP32__) +# define _LIBUNWIND_CONTEXT_SIZE 21 +# define _LIBUNWIND_CURSOR_SIZE 28 # else # define _LIBUNWIND_CONTEXT_SIZE 21 # define _LIBUNWIND_CURSOR_SIZE 33