libgo: support x32 as GOARCH=amd64p32 GOOS=linux
authorIan Lance Taylor <ian@gcc.gnu.org>
Mon, 1 Oct 2018 20:17:11 +0000 (20:17 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Mon, 1 Oct 2018 20:17:11 +0000 (20:17 +0000)
commit44ef03008c75059368245eb3dcd6054bed3f7643
treeb5bbe87fcb0616ef9758a0ce62e988d331f879cb
parent1b28253347dedba72abaf81e86b1812863d07a11
libgo: support x32 as GOARCH=amd64p32 GOOS=linux

    This is enough to let libgo build when configured using
    --with-multilib-list=m64,m32,mx32.  I don't have an x32-enabled kernel
    so I haven't tested whether it executes correctly.

    For https://gcc.gnu.org/PR87470

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

From-SVN: r264772
gcc/go/gofrontend/MERGE
libgo/configure
libgo/configure.ac
libgo/go/hash/crc32/crc32_amd64p32.go
libgo/go/internal/syscall/unix/getrandom_linux_amd64p32.go [new file with mode: 0644]
libgo/go/runtime/lfstack_32bit.go
libgo/goarch.sh