syscall: RawSockaddr fix for ppc64, ppc64le
authorIan Lance Taylor <ian@gcc.gnu.org>
Mon, 3 Aug 2015 21:18:56 +0000 (21:18 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Mon, 3 Aug 2015 21:18:56 +0000 (21:18 +0000)
commit1ca95ba067db107e360f79acc95fd987ecb7b37b
tree91bb0c10eb34456977a82dcf78aec4e8f864cddb
parentab977fd881b81c9a03ea709fee8b02fb34cd3897
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

From-SVN: r226533
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]