diff --git a/src/runtime/sys_openbsd_amd64.s b/src/runtime/sys_openbsd_amd64.s index 213ffc1937..381354ea09 100644 --- a/src/runtime/sys_openbsd_amd64.s +++ b/src/runtime/sys_openbsd_amd64.s @@ -306,7 +306,7 @@ TEXT runtimeĀ·sigaltstack(SB),NOSPLIT,$-8 // set tls base to DI TEXT runtimeĀ·settls(SB),NOSPLIT,$0 - // adjust for ELF: wants to use -16(FS) and -8(FS) for g and m + // adjust for ELF: wants to use -8(FS) for g ADDQ $8, DI MOVQ $329, AX // sys___settcb SYSCALL