re PR go/89447 (libgo largefile support is incomplete and inconsistent)
authorIan Lance Taylor <ian@gcc.gnu.org>
Sat, 9 Mar 2019 02:10:22 +0000 (02:10 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Sat, 9 Mar 2019 02:10:22 +0000 (02:10 +0000)
commitee973155b2fd00dfe0ef6a3563c9623512f6632e
treeb6c85d9bbcbcafc6c5236cc9b99d04b65f281cdf
parent9c0aa28c4818ab2477910dacdfdceb3cb33c8629
re PR go/89447 (libgo largefile support is incomplete and inconsistent)

PR go/89447
    syscall, internal/syscall: adjust use of largefile functions

    Consistently call __go_openat for openat.  Use fstatat64, creat64,
    sendfile64, and getdents64 where needed.

    Based on patch by Rainer Orth.

    Fixes https://gcc.gnu.org/PR89447

    Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/166420

From-SVN: r269521
13 files changed:
gcc/go/gofrontend/MERGE
libgo/go/internal/syscall/unix/at.go
libgo/go/internal/syscall/unix/at_largefile.go [new file with mode: 0644]
libgo/go/internal/syscall/unix/at_regfile.go [new file with mode: 0644]
libgo/go/syscall/libcall_bsd.go
libgo/go/syscall/libcall_bsd_largefile.go [new file with mode: 0644]
libgo/go/syscall/libcall_bsd_regfile.go [new file with mode: 0644]
libgo/go/syscall/libcall_posix.go
libgo/go/syscall/libcall_posix_largefile.go
libgo/go/syscall/libcall_posix_regfile.go
libgo/go/syscall/libcall_solaris.go [deleted file]
libgo/go/syscall/libcall_solaris_largefile.go [new file with mode: 0644]
libgo/go/syscall/libcall_solaris_regfile.go [new file with mode: 0644]