aboutsummaryrefslogtreecommitdiff
path: root/src/encoding
diff options
context:
space:
mode:
authorElias Naur <mail@eliasnaur.com>2019-04-27 11:36:40 +0200
committerElias Naur <mail@eliasnaur.com>2019-04-27 21:47:07 +0000
commit096ab3c21b88ccc7d411379d09fe6274e3159467 (patch)
tree128d72f3fb757d15e13b50f1528d8b6139176349 /src/encoding
parenta74e01204e08c51792a4f6a238762352e971efea (diff)
downloadgo-096ab3c21b88ccc7d411379d09fe6274e3159467.tar.xz
cmd/link/internal/ld,syscall: drop $INODE64 suffixes on simulators
Some libc functions are suffixed with "$INODE64" on macOS. Unfortunately, the iOS simulator doesn't have the suffixes, so we can't use GOARCH to distinguish the two platform. Add linker support for adding the suffix, using the macho platform to determine whether it is needed. While here, add the correct suffix for fdopendir on 386. It's "$INODE64$UNIX2003", believe it or not. Without the suffix, GOARCH=386 go test -short syscall crashes on my Mojave machine. Fixes #31447 Change-Id: I9bd3de40ece7df62f744bc24cd00909e56b00b78 Reviewed-on: https://go-review.googlesource.com/c/go/+/174199 TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Keith Randall <khr@golang.org>
Diffstat (limited to 'src/encoding')
0 files changed, 0 insertions, 0 deletions