summaryrefslogtreecommitdiff
path: root/libunwind
diff options
context:
space:
mode:
authorMed Ismail Bennani <ismail@bennani.ma>2025-11-12 12:21:32 -0800
committerGitHub <noreply@github.com>2025-11-12 12:21:32 -0800
commite5e9c3b4f2eea733d35383159492fb509d8b0f20 (patch)
treea1b79145e9d1384c5eb5b7fad8d9c983d2407777 /libunwind
parent782759b757f69c6be98bd8079bc57e8f49b7ec86 (diff)
[libunwind] Fix build error because of wrong register size (#167743)
Diffstat (limited to 'libunwind')
-rw-r--r--libunwind/src/UnwindLevel1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libunwind/src/UnwindLevel1.c b/libunwind/src/UnwindLevel1.c
index 79398bac8b53..73a27928e91d 100644
--- a/libunwind/src/UnwindLevel1.c
+++ b/libunwind/src/UnwindLevel1.c
@@ -82,7 +82,7 @@
void *shstkRegContext = __libunwind_shstk_get_registers((cursor)); \
void *shstkJumpAddress = __libunwind_shstk_get_jump_target(); \
__asm__ volatile("mov x0, %0\n\t" \
- "mov x1, wzr\n\t" \
+ "mov x1, #0\n\t" \
"br %1\n\t" \
: \
: "r"(shstkRegContext), "r"(shstkJumpAddress) \