1
0
mirror of https://github.com/golang/go synced 2024-11-25 06:57:58 -07:00

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
This commit is contained in:
Russ Cox 2010-02-09 16:54:51 -08:00
parent c7d37e41b2
commit de90a7d4aa

View File

@ -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