aboutsummaryrefslogtreecommitdiff
path: root/src/pkg/runtime/malloc.goc
diff options
context:
space:
mode:
authorKeith Randall <khr@golang.org>2013-08-29 12:36:59 -0700
committerKeith Randall <khr@golang.org>2013-08-29 12:36:59 -0700
commited467db6d8db16dcc2956d85f0ce114635e12f06 (patch)
tree2cae5751925bdc6138cebd7a8c6c4d2380330420 /src/pkg/runtime/malloc.goc
parentf5f0e40e803125e47c64372fc7d808cbd8b9577a (diff)
downloadgo-ed467db6d8db16dcc2956d85f0ce114635e12f06.tar.xz
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
Diffstat (limited to 'src/pkg/runtime/malloc.goc')
-rw-r--r--src/pkg/runtime/malloc.goc2
1 files changed, 1 insertions, 1 deletions
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;