summaryrefslogtreecommitdiff
path: root/src/runtime/proc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/runtime/proc.c')
-rw-r--r--src/runtime/proc.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/runtime/proc.c b/src/runtime/proc.c
index 0b509bb87..349074bfd 100644
--- a/src/runtime/proc.c
+++ b/src/runtime/proc.c
@@ -155,6 +155,7 @@ malg(int32 stacksize)
return g;
}
+#pragma textflag 7
void
sys·newproc(int32 siz, byte* fn, byte* arg0)
{
@@ -204,6 +205,7 @@ sys·newproc(int32 siz, byte* fn, byte* arg0)
//printf(" goid=%d\n", newg->goid);
}
+#pragma textflag 7
void
sys·deferproc(int32 siz, byte* fn, byte* arg0)
{
@@ -219,6 +221,7 @@ sys·deferproc(int32 siz, byte* fn, byte* arg0)
g->defer = d;
}
+#pragma textflag 7
void
sys·deferreturn(int32 arg0)
{
@@ -760,6 +763,7 @@ newstack(void)
*(int32*)345 = 123; // never return
}
+#pragma textflag 7
void
sys·morestack(uint64 u)
{