| // Copyright 2015 The Go Authors. All rights reserved. |
| // Use of this source code is governed by a BSD-style |
| // license that can be found in the LICENSE file. |
| TEXT runtime·load_g(SB),NOSPLIT,$0 |
| MOVB runtime·iscgo(SB), R0 |
| // Darwin sometimes returns unaligned pointers |
| AND $0xfffffffffffffff8, R0 |
| MOVD runtime·tls_g(SB), R27 |
| TEXT runtime·save_g(SB),NOSPLIT,$0 |
| MOVB runtime·iscgo(SB), R0 |
| // Darwin sometimes returns unaligned pointers |
| AND $0xfffffffffffffff8, R0 |
| MOVD runtime·tls_g(SB), R27 |
| GLOBL runtime·tls_g+0(SB), NOPTR, $8 |
| GLOBL runtime·tls_g+0(SB), TLSBSS, $8 |