From e838334beb38c20d2b4035b53ec4e3e3487844f9 Mon Sep 17 00:00:00 2001 From: Keith Randall Date: Mon, 12 Aug 2013 13:47:18 -0700 Subject: runtime: change textflags from numbers to symbols R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/12798043 --- src/pkg/runtime/malloc.goc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/pkg/runtime/malloc.goc') diff --git a/src/pkg/runtime/malloc.goc b/src/pkg/runtime/malloc.goc index b146ae2540..15deb85fed 100644 --- a/src/pkg/runtime/malloc.goc +++ b/src/pkg/runtime/malloc.goc @@ -14,6 +14,7 @@ package runtime #include "typekind.h" #include "race.h" #include "stack.h" +#include "../../cmd/ld/textflag.h" // Mark mheap as 'no pointers', it does not contain interesting pointers but occupies ~45K. #pragma dataflag 16 @@ -696,7 +697,7 @@ runtime·mal(uintptr n) return runtime·mallocgc(n, 0, 0); } -#pragma textflag 7 +#pragma textflag NOSPLIT void runtime·new(Type *typ, uint8 *ret) { -- cgit v1.3-5-g9baa