From de90a7d4aaee921b95c3d906dd8864ed3e3740a4 Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Tue, 9 Feb 2010 16:54:51 -0800 Subject: [PATCH] runtime: fix FreeBSD build stab in the dark but plausible: the kernel does try to return time zone information. http://fxr.watson.org/fxr/source/kern/kern_time.c?v=FREEBSD8#L421 R=iant CC=golang-dev https://golang.org/cl/206053 --- src/pkg/runtime/freebsd/amd64/sys.s | 1 + 1 file changed, 1 insertion(+) diff --git a/src/pkg/runtime/freebsd/amd64/sys.s b/src/pkg/runtime/freebsd/amd64/sys.s index 02c3e91436..6fc96a0be3 100644 --- a/src/pkg/runtime/freebsd/amd64/sys.s +++ b/src/pkg/runtime/freebsd/amd64/sys.s @@ -61,6 +61,7 @@ TEXT write(SB),7,$-8 TEXT gettime(SB), 7, $32 MOVL $116, AX LEAQ 8(SP), DI + MOVQ $0, SI SYSCALL MOVQ 8(SP), BX // sec -- 2.50.0