runtime: mark memequal and memclrNoHeapPointers nosplit
authorIan Lance Taylor <ian@gcc.gnu.org>
Tue, 25 Jun 2019 06:16:21 +0000 (06:16 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Tue, 25 Jun 2019 06:16:21 +0000 (06:16 +0000)
commit81fadf1c8d33ce8fb38e18f00b96fc2434ab7f98
tree2b287bd7f5b7a8ca356ffe23340b44a49f7bbbec
parent33437116edd7d0c59dee80e0ab7f241f851fa5d6
runtime: mark memequal and memclrNoHeapPointers nosplit

    They are wrappers of libc functions that use no stack. Mark them
    nosplit so the linker won't patch it to call __morestack_non_split.

    Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/183629

From-SVN: r272633
gcc/go/gofrontend/MERGE
libgo/runtime/go-memclr.c
libgo/runtime/go-memequal.c