aboutsummaryrefslogtreecommitdiff
path: root/src/pkg/runtime/runtime.c
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/runtime.c
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/runtime.c')
-rw-r--r--src/pkg/runtime/runtime.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/pkg/runtime/runtime.c b/src/pkg/runtime/runtime.c
index 7f693589f6..39bd9332e1 100644
--- a/src/pkg/runtime/runtime.c
+++ b/src/pkg/runtime/runtime.c
@@ -4,6 +4,7 @@
#include "runtime.h"
#include "arch_GOARCH.h"
+#include "../../cmd/ld/textflag.h"
enum {
maxround = sizeof(uintptr),
@@ -415,7 +416,7 @@ runtime·parsedebugvars(void)
// This is a very special function, do not use it if you are not sure what you are doing.
// int64 division is lowered into _divv() call on 386, which does not fit into nosplit functions.
// Handles overflow in a time-specific manner.
-#pragma textflag 7
+#pragma textflag NOSPLIT
int32
runtime·timediv(int64 v, int32 div, int32 *rem)
{