summaryrefslogtreecommitdiff
path: root/src/runtime/asm_arm.s
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2014-10-07 23:27:25 -0400
committerRuss Cox <rsc@golang.org>2014-10-07 23:27:25 -0400
commit5d002841f887436edc2b238694f04caaa696cae4 (patch)
tree7287ca1062a176b9e70101e749aa4c40cf5166d4 /src/runtime/asm_arm.s
parent9673ab4a490e582ee5a8dc4c91eaadbac48b215c (diff)
downloadgo-5d002841f887436edc2b238694f04caaa696cae4.tar.gz
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
Diffstat (limited to 'src/runtime/asm_arm.s')
-rw-r--r--src/runtime/asm_arm.s3
1 files changed, 3 insertions, 0 deletions
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