From ed467db6d8db16dcc2956d85f0ce114635e12f06 Mon Sep 17 00:00:00 2001 From: Keith Randall Date: Thu, 29 Aug 2013 12:36:59 -0700 Subject: cmd/cc,runtime: change preprocessor to expand macros inside of #pragma textflag and #pragma dataflag directives. Update dataflag directives to use symbols instead of integer constants. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/13310043 --- src/pkg/runtime/malloc.goc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/pkg/runtime/malloc.goc') diff --git a/src/pkg/runtime/malloc.goc b/src/pkg/runtime/malloc.goc index 405eae1f11..a28e35d04b 100644 --- a/src/pkg/runtime/malloc.goc +++ b/src/pkg/runtime/malloc.goc @@ -17,7 +17,7 @@ package runtime #include "../../cmd/ld/textflag.h" // Mark mheap as 'no pointers', it does not contain interesting pointers but occupies ~45K. -#pragma dataflag 16 +#pragma dataflag NOPTR MHeap runtime·mheap; int32 runtime·checking; -- cgit v1.3