From 4a902832aee6db94d4a21b3778e42a05af9dfd82 Mon Sep 17 00:00:00 2001 From: Derek Parker Date: Wed, 16 Jun 2021 09:14:30 -0700 Subject: [PATCH] runtime: Add return label to jump to from fallback --- src/runtime/sys_linux_ppc64x.s | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/runtime/sys_linux_ppc64x.s b/src/runtime/sys_linux_ppc64x.s index de686492ad1..544ad781309 100644 --- a/src/runtime/sys_linux_ppc64x.s +++ b/src/runtime/sys_linux_ppc64x.s @@ -266,6 +266,7 @@ finish: MOVD 32(R1), R6 MOVD R6, m_vdsoPC(R21) +return: MOVD R3, sec+0(FP) MOVW R5, nsec+8(FP) RET @@ -276,7 +277,7 @@ fallback: SYSCALL $SYS_clock_gettime MOVD 32(R1), R3 MOVD 40(R1), R5 - JMP finish + JMP return TEXT runtime·nanotime1(SB),NOSPLIT,$16-8 MOVD $1, R3 // CLOCK_MONOTONIC