From: Mark Wooding Date: Fri, 27 Mar 2020 17:19:00 +0000 (+0000) Subject: base/dispatch-x86ish.S: Fix build failure from incompetent cherry-pick. X-Git-Tag: 2.6.0~51 X-Git-Url: https://git.distorted.org.uk/~mdw/catacomb/commitdiff_plain/f5e84ec9d76d027f395687277fb734191fa41b7e base/dispatch-x86ish.S: Fix build failure from incompetent cherry-pick. The `SP' register-name macro used in 25f3ce6... comes from the future. Fortunately, we don't actually need it here. --- diff --git a/base/dispatch-x86ish.S b/base/dispatch-x86ish.S index 3e2d4c83..8c6a2a8f 100644 --- a/base/dispatch-x86ish.S +++ b/base/dispatch-x86ish.S @@ -164,7 +164,7 @@ FUNC(dispatch_x86ish_rdrand) #if CPUFAM_X86 # define X_OUT edx # define COUNT ecx - mov X_OUT, [SP + 4] + mov X_OUT, [esp + 4] #endif #if CPUFAM_AMD64 && ABI_SYSV # define X_OUT rdi