aboutsummaryrefslogtreecommitdiff
path: root/src/pkg/runtime/malloc.goc
diff options
context:
space:
mode:
authorKeith Randall <khr@golang.org>2013-08-12 13:47:18 -0700
committerKeith Randall <khr@golang.org>2013-08-12 13:47:18 -0700
commite838334beb38c20d2b4035b53ec4e3e3487844f9 (patch)
tree3e098b463e89455884e6a15c019bee84c522e088 /src/pkg/runtime/malloc.goc
parent2791ef0b6784f487738b7dbe6bda520b426131f3 (diff)
downloadgo-e838334beb38c20d2b4035b53ec4e3e3487844f9.tar.xz
runtime: change textflags from numbers to symbols
R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/12798043
Diffstat (limited to 'src/pkg/runtime/malloc.goc')
-rw-r--r--src/pkg/runtime/malloc.goc3
1 files changed, 2 insertions, 1 deletions
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)
{