summaryrefslogtreecommitdiff
path: root/libgo
diff options
context:
space:
mode:
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>2016-10-12 17:42:49 +0000
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>2016-10-12 17:42:49 +0000
commit3457370357929d70f26873e914fae6ea6f1a8ffd (patch)
tree592f7fad92fbddcd4d151deef53caa1e6242c537 /libgo
parentf8eb8934f6232234df9b8186c49c017373542c17 (diff)
downloadgcc-3457370357929d70f26873e914fae6ea6f1a8ffd.tar.gz
syscall: mark rawClone as no_split_stack
Reviewed-on: https://go-review.googlesource.com/30955 git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@241072 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgo')
-rw-r--r--libgo/go/syscall/clone_linux.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/libgo/go/syscall/clone_linux.c b/libgo/go/syscall/clone_linux.c
index a1a15ea05d8..b7eed6c8b20 100644
--- a/libgo/go/syscall/clone_linux.c
+++ b/libgo/go/syscall/clone_linux.c
@@ -10,7 +10,10 @@
#include "runtime.h"
-long rawClone (unsigned long flags, void *child_stack, void *ptid, void *ctid, struct pt_regs *regs) __asm__ (GOSYM_PREFIX "syscall.rawClone");
+long rawClone (unsigned long flags, void *child_stack, void *ptid,
+ void *ctid, struct pt_regs *regs)
+ __asm__ (GOSYM_PREFIX "syscall.rawClone")
+ __attribute__ ((no_split_stack));
long
rawClone (unsigned long flags, void *child_stack, void *ptid, void *ctid, struct pt_regs *regs)