syscall: RawSockaddr fix for ppc64, ppc64le
commite487326d35e0bd2acf2920ab402a028571c99131
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 3 Aug 2015 21:18:56 +0000 (3 21:18 +0000)
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 3 Aug 2015 21:18:56 +0000 (3 21:18 +0000)
tree91bb0c10eb34456977a82dcf78aec4e8f864cddb
parent8ad95372fddd961f9a643fda7ee0db438255fb91
syscall:  RawSockaddr fix for ppc64, ppc64le

    The struct RawSockaddr contains a field Data which
    should be uint8 on ppc64 and ppc64le, but is declared
    as int8 in gccgo.  This change adds a two new files
    which contain the structure declaration for
    RawSockaddr, one with the correct types for for ppc64
    and ppc64le, and the other for non-ppc64 platforms.

    Fixes golang/go#11469

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@226533 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/go/gofrontend/MERGE
libgo/Makefile.am
libgo/Makefile.in
libgo/go/syscall/socket_linux.go
libgo/go/syscall/socket_linux_ppc64x_type.go [new file with mode: 0644]
libgo/go/syscall/socket_linux_type.go [new file with mode: 0644]