libgo: support x32 as GOARCH=amd64p32 GOOS=linux
commit0caa25c9c649b2f8c7215702cafcd2f28b355a0c
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 1 Oct 2018 20:17:11 +0000 (1 20:17 +0000)
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 1 Oct 2018 20:17:11 +0000 (1 20:17 +0000)
treeb5bbe87fcb0616ef9758a0ce62e988d331f879cb
parente1f88bf02ab5335f73dcbf2ad821d35d084949bf
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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@264772 138bc75d-0d04-0410-961f-82ee72b054a4
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