aboutsummaryrefslogtreecommitdiff
path: root/src/pkg/runtime/sema.goc
diff options
context:
space:
mode:
Diffstat (limited to 'src/pkg/runtime/sema.goc')
-rw-r--r--src/pkg/runtime/sema.goc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/pkg/runtime/sema.goc b/src/pkg/runtime/sema.goc
index 51a38adafe..57f32a0ddb 100644
--- a/src/pkg/runtime/sema.goc
+++ b/src/pkg/runtime/sema.goc
@@ -20,6 +20,7 @@
package sync
#include "runtime.h"
#include "arch_GOARCH.h"
+#include "../../cmd/ld/textflag.h"
typedef struct SemaWaiter SemaWaiter;
struct SemaWaiter
@@ -50,7 +51,7 @@ struct semtable
SemaRoot;
uint8 pad[CacheLineSize-sizeof(SemaRoot)];
};
-#pragma dataflag 16 /* mark semtable as 'no pointers', hiding from garbage collector */
+#pragma dataflag NOPTR /* mark semtable as 'no pointers', hiding from garbage collector */
static struct semtable semtable[SEMTABLESZ];
static SemaRoot*