]> Cypherpunks repositories - gostls13.git/commit
cmd/link: update machoPlatform selection
authorCherry Zhang <cherryyz@google.com>
Wed, 21 Apr 2021 23:02:11 +0000 (19:02 -0400)
committerCherry Zhang <cherryyz@google.com>
Thu, 22 Apr 2021 14:34:36 +0000 (14:34 +0000)
commitb2a032add8e46ca03af0b2c1c72052b75e056101
treeba6c04093625b45ef91142a3b01b939372ebfd4a
parenta4f3ff22056646a563fbde663ff56fce33b7773f
cmd/link: update machoPlatform selection

Now that we have darwin/arm64 and ios/arm64 ports, make it based
on GOOS, instead of GOARCH.

Also drop a remaining case of 32-bit ARM.

Change-Id: I954fff980712fd3b81b561ddcb6f3a4ef73fa0b9
Reviewed-on: https://go-review.googlesource.com/c/go/+/312549
Trust: Cherry Zhang <cherryyz@google.com>
Run-TryBot: Cherry Zhang <cherryyz@google.com>
Reviewed-by: Than McIntosh <thanm@google.com>
src/cmd/link/internal/ld/macho.go