From 5d002841f887436edc2b238694f04caaa696cae4 Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Tue, 7 Oct 2014 23:27:25 -0400 Subject: runtime: change Windows M.thread from void* to uintptr It appears to be an opaque bit pattern more than a pointer. The Go garbage collector has discovered that for m0 it is set to 0x4c. Should fix Windows build. TBR=brainman CC=golang-codereviews https://codereview.appspot.com/149640043 --- src/runtime/asm_arm.s | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/runtime/asm_arm.s') diff --git a/src/runtime/asm_arm.s b/src/runtime/asm_arm.s index 36fb022f9..a1535aeec 100644 --- a/src/runtime/asm_arm.s +++ b/src/runtime/asm_arm.s @@ -724,6 +724,9 @@ TEXT runtime·atomicloaduintptr(SB),NOSPLIT,$0-8 TEXT runtime·atomicloaduint(SB),NOSPLIT,$0-8 B runtime·atomicload(SB) +TEXT runtime·atomicstoreuintptr(SB),NOSPLIT,$0-8 + B runtime·atomicstore(SB) + // AES hashing not implemented for ARM TEXT runtime·aeshash(SB),NOSPLIT,$-4-0 MOVW $0, R0 -- cgit v1.2.1