libgo: permit loff_t and off_t to be macros
commit7f195a2270910a6ed08bd76e3a16b0a6503f9faf
authorIan Lance Taylor <iant@golang.org>
Tue, 14 Jun 2022 18:33:42 +0000 (14 11:33 -0700)
committerIan Lance Taylor <iant@golang.org>
Fri, 17 Jun 2022 21:27:06 +0000 (17 14:27 -0700)
tree053387a6fe016bd4420765eb3c45415787fae6f7
parenta284fadcce8ef443cc3cc047a8017745efb51758
libgo: permit loff_t and off_t to be macros

They are macros in musl libc, rather than typedefs, and -fgo-dump-spec
doesn't handle that case.

Based on patch by Sören Tempel.

Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/412075
gcc/go/gofrontend/MERGE
libgo/config.h.in
libgo/configure
libgo/configure.ac
libgo/go/syscall/libcall_linux.go
libgo/mksysinfo.sh
libgo/sysinfo.c