Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
runtime/cgo: fix unaligned tlsbase pointer.
According to disassembly of /usr/lib/dyld: _pthread_getspecific: 2fe17060 ee1d1f70 mrc 15, 0, r1, cr13, cr0, {3} 2fe17064 e3c11003 bic r1, r1, golang#3 ; 0x3 2fe17068 e0810100 add r0, r1, r0, lsl golang#2 2fe1706c e5900000 ldr r0, [r0] 2fe17070 e12fff1e bx lr the result from mrc might not be properly aligned, I don't know why.
- Loading branch information