-
-
Save agentzh/e47d4f63fd70361fa60c2a1df41cb64a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/runtime/regs.c b/runtime/regs.c | |
index 0d4536f54..b21bdb2c3 100644 | |
--- a/runtime/regs.c | |
+++ b/runtime/regs.c | |
@@ -59,7 +59,7 @@ static long _stp_get_sp(struct pt_regs *regs) | |
#endif /* __x86_64__ */ | |
-#if defined(__x86_64__) || defined(__ia64__) || defined(__i386__) | |
+#if defined(__x86_64__) || defined(__ia64__) || defined(__i386__) || defined(__aarch64__) | |
/* Ensure that the upper 32 bits of val are a sign-extension of the lower 32. */ | |
static int64_t __stp_sign_extend32(int64_t val) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment