Commit 48754592 authored by Ian Lance Taylor's avatar Ian Lance Taylor
Browse files

runtime: align stack in 386 lib startup before calling C function

Fixes Darwin 386 build. It turns out that the Darwin pthread_create
function saves the SSE registers, and therefore requires an aligned stack.
This worked before https://golang.org/cl/70530 because the stack sizes
were chosen to leave the stack aligned.

Change-Id: I911a9e8dcde4e41e595d5ef9b9a1ca733e154de6
Reviewed-on: https://go-review.googlesource.com/71432


Reviewed-by: default avatarRobert Griesemer <gri@golang.org>
Reviewed-by: default avatarAustin Clements <austin@google.com>
parent 4c8e8fc3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment