2016-03-01 15:57:46 -07:00
|
|
|
// Copyright 2014 The Go Authors. All rights reserved.
|
2014-09-11 22:18:20 -06:00
|
|
|
// 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
|
|
|
|
|
[dev.cc] runtime: convert assembly files for C to Go transition
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
2014-11-11 15:06:22 -07:00
|
|
|
TEXT runtime·nop(SB),NOSPLIT,$0-0
|
|
|
|
RET
|
|
|
|
|
|
|
|
GLOBL runtime·mheap_(SB), NOPTR, $0
|
|
|
|
GLOBL runtime·memstats(SB), NOPTR, $0
|