runtime: use alignof to check alignment of ucontext_t
authorIan Lance Taylor <ian@gcc.gnu.org>
Fri, 9 Sep 2016 16:39:44 +0000 (16:39 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Fri, 9 Sep 2016 16:39:44 +0000 (16:39 +0000)
commitac376b15df246bc673b0e14074a4f19d39762480
treeb38452d48d41a4ced2a23d9cc03ac7fd867d297c
parenta9ca0a9d025cdd0e046b8e0b89fd2f2e3721e203
runtime: use alignof to check alignment of ucontext_t

    Use alignof rather than assuming a 16 byte alignment.

    Reviewed-on: https://go-review.googlesource.com/28913

From-SVN: r240047
gcc/go/gofrontend/MERGE
libgo/runtime/proc.c