mirror of
https://github.com/golang/go
synced 2024-11-20 02:14:46 -07:00
15ced2d008
The main change is that #include "zasm_GOOS_GOARCH.h" is now #include "go_asm.h" and/or #include "go_tls.h". Also, because C StackGuard is now Go _StackGuard, the assembly name changes from const_StackGuard to const__StackGuard. In asm_$GOARCH.s, add new function getg, formerly implemented in C. The renamed atomics now have Go wrappers, to get escape analysis annotations right. Those wrappers are in CL 174860043. LGTM=r, aram R=r, aram CC=austin, dvyukov, golang-codereviews, iant, khr https://golang.org/cl/168510043
20 lines
725 B
ArmAsm
20 lines
725 B
ArmAsm
// Copyright 2014 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.
|
|
|
|
#include "textflag.h"
|
|
|
|
// funcdata for functions with no local variables in frame.
|
|
// Define two zero-length bitmaps, because the same index is used
|
|
// for the local variables as for the argument frame, and assembly
|
|
// frames have two argument bitmaps, one without results and one with results.
|
|
DATA runtime·no_pointers_stackmap+0x00(SB)/4, $2
|
|
DATA runtime·no_pointers_stackmap+0x04(SB)/4, $0
|
|
GLOBL runtime·no_pointers_stackmap(SB),RODATA, $8
|
|
|
|
TEXT runtime·nop(SB),NOSPLIT,$0-0
|
|
RET
|
|
|
|
GLOBL runtime·mheap_(SB), NOPTR, $0
|
|
GLOBL runtime·memstats(SB), NOPTR, $0
|