summaryrefslogtreecommitdiff
path: root/src/pkg/syscall/asm_linux_amd64.s
diff options
context:
space:
mode:
Diffstat (limited to 'src/pkg/syscall/asm_linux_amd64.s')
-rw-r--r--src/pkg/syscall/asm_linux_amd64.s4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pkg/syscall/asm_linux_amd64.s b/src/pkg/syscall/asm_linux_amd64.s
index fdc233ca5..1a1fdb06a 100644
--- a/src/pkg/syscall/asm_linux_amd64.s
+++ b/src/pkg/syscall/asm_linux_amd64.s
@@ -108,7 +108,7 @@ ok2:
TEXT ·Gettimeofday(SB),7,$0
MOVQ 8(SP), DI
MOVQ $0, SI
- MOVQ $0xffffffffff600000, AX
+ MOVQ runtime·__vdso_gettimeofday_sym(SB), AX
CALL AX
CMPQ AX, $0xfffffffffffff001
@@ -122,7 +122,7 @@ ok7:
TEXT ·Time(SB),7,$0
MOVQ 8(SP), DI
- MOVQ $0xffffffffff600400, AX
+ MOVQ runtime·__vdso_time_sym(SB), AX
CALL AX
MOVQ AX, 16(SP) // tt
MOVQ $0, 24(SP) // errno