aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@gcc.gnu.org>2016-09-09 13:31:49 +0000
committerIan Lance Taylor <ian@gcc.gnu.org>2016-09-09 13:31:49 +0000
commit6f02c138136e54ec525d81e604427782cacec378 (patch)
treed4fd6aada5043cfd7bff984cbe0d0a5ef059bfde /gcc
parent0abcd6cc738c5afd131c232ddb6809e6ff8e8def (diff)
downloadgcc-6f02c138136e54ec525d81e604427782cacec378.zip
gcc-6f02c138136e54ec525d81e604427782cacec378.tar.gz
gcc-6f02c138136e54ec525d81e604427782cacec378.tar.bz2
runtime: align ucontext_t argument to 16 byte boundary
Some systems, such as ia64 and PPC, require that a ucontext_t pointer passed to getcontext and friends be aligned to a 16-byte boundary. Currently the ucontext_t fields in the g structure are defined in Go, and Go has no way to ensure a 16-byte alignment for a struct field. The fields are currently represented by an array of unsafe.Pointer. Enforce the alignment by making the array larger, and picking an offset into the array that is 16-byte aligned. Reviewed-on: https://go-review.googlesource.com/28910 From-SVN: r240044
Diffstat (limited to 'gcc')
-rw-r--r--gcc/go/gofrontend/MERGE2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/go/gofrontend/MERGE b/gcc/go/gofrontend/MERGE
index 71a9f5b..26f36ec 100644
--- a/gcc/go/gofrontend/MERGE
+++ b/gcc/go/gofrontend/MERGE
@@ -1,4 +1,4 @@
-c8cf90f2daf62428ca6aa0b5674572cd99f25fe3
+4f033f29553655ad90493d55059a7bbc6cd63108
The first line of this file holds the git revision number of the last
merge done from the gofrontend repository.