From: Alex Brainman Date: Tue, 17 Feb 2015 05:48:31 +0000 (+1100) Subject: [dev.cc] runtime: remove comma at the end of DIVL instruction (fixes windows build) X-Git-Tag: go1.5beta1~1915^2~57 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=201b12499c6dd68d118f3152467bee50c1a97aee;p=gostls13.git [dev.cc] runtime: remove comma at the end of DIVL instruction (fixes windows build) Change-Id: Ia47e1e387acd30f30559d766aa6fca18cbb098f9 Reviewed-on: https://go-review.googlesource.com/5010 Reviewed-by: Brad Fitzpatrick --- diff --git a/src/runtime/sys_windows_386.s b/src/runtime/sys_windows_386.s index 9c2692b93d..5f4a63bcdd 100644 --- a/src/runtime/sys_windows_386.s +++ b/src/runtime/sys_windows_386.s @@ -248,7 +248,7 @@ TEXT runtime·callbackasm1+0(SB),NOSPLIT,$0 SUBL $runtime·callbackasm(SB), AX MOVL $0, DX MOVL $5, BX // divide by 5 because each call instruction in runtime·callbacks is 5 bytes long - DIVL BX, + DIVL BX // find correspondent runtime·cbctxts table entry MOVL runtime·cbctxts(SB), BX diff --git a/src/runtime/sys_windows_amd64.s b/src/runtime/sys_windows_amd64.s index 27e48bf9c2..dd81ce055a 100644 --- a/src/runtime/sys_windows_amd64.s +++ b/src/runtime/sys_windows_amd64.s @@ -287,7 +287,7 @@ TEXT runtime·callbackasm1(SB),NOSPLIT,$0 SUBQ DX, AX MOVQ $0, DX MOVQ $5, CX // divide by 5 because each call instruction in runtime·callbacks is 5 bytes long - DIVL CX, + DIVL CX // find correspondent runtime·cbctxts table entry MOVQ runtime·cbctxts(SB), CX