diff options
author | Ian Lance Taylor <ian@gcc.gnu.org> | 2016-10-12 17:42:49 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@gcc.gnu.org> | 2016-10-12 17:42:49 +0000 |
commit | fa8e596366cabd3c91822aee91987879a2eb58fd (patch) | |
tree | 592f7fad92fbddcd4d151deef53caa1e6242c537 /libgo/go | |
parent | 323c57220b3ad1290afa0b377a6ad04de542516b (diff) | |
download | gcc-fa8e596366cabd3c91822aee91987879a2eb58fd.zip gcc-fa8e596366cabd3c91822aee91987879a2eb58fd.tar.gz gcc-fa8e596366cabd3c91822aee91987879a2eb58fd.tar.bz2 |
syscall: mark rawClone as no_split_stack
Reviewed-on: https://go-review.googlesource.com/30955
From-SVN: r241072
Diffstat (limited to 'libgo/go')
-rw-r--r-- | libgo/go/syscall/clone_linux.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/libgo/go/syscall/clone_linux.c b/libgo/go/syscall/clone_linux.c index a1a15ea..b7eed6c 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) |