summaryrefslogtreecommitdiff
path: root/src/pkg/runtime/mem_openbsd.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/pkg/runtime/mem_openbsd.c')
-rw-r--r--src/pkg/runtime/mem_openbsd.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/pkg/runtime/mem_openbsd.c b/src/pkg/runtime/mem_openbsd.c
index cf4b24f92..8d04c832c 100644
--- a/src/pkg/runtime/mem_openbsd.c
+++ b/src/pkg/runtime/mem_openbsd.c
@@ -7,12 +7,14 @@
#include "defs_GOOS_GOARCH.h"
#include "os_GOOS.h"
#include "malloc.h"
+#include "../../cmd/ld/textflag.h"
enum
{
ENOMEM = 12,
};
+#pragma textflag NOSPLIT
void*
runtime·sysAlloc(uintptr n, uint64 *stat)
{