]> Cypherpunks.ru repositories - gostls13.git/commit
cmd/link: stop passing -pagezero_size to darwin linker
authorCherry Mui <cherryyz@google.com>
Wed, 14 Sep 2022 23:50:00 +0000 (19:50 -0400)
committerCherry Mui <cherryyz@google.com>
Thu, 15 Sep 2022 14:57:53 +0000 (14:57 +0000)
commit5231ba2f054f2ecb1387bad00b8745d6fe532ea4
treec1dfb334f631edf5f04efc30d98e700418636771
parente665de28611fd2cbf7789065e7a26ca12c4b9c00
cmd/link: stop passing -pagezero_size to darwin linker

We added -pagezero_size in CL 72730, where it was intented for iOS.
The current code passes it only on macOS/AMD64 instead. It is not
really necessary there. Also, the new darwin linker starts to emit
a warning about deprecation of the flag. Stop passing it.

For #54482.

Change-Id: If9db7a1645c37d4284e48f075856912df8d8c1a0
Reviewed-on: https://go-review.googlesource.com/c/go/+/430936
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Than McIntosh <thanm@google.com>
Run-TryBot: Cherry Mui <cherryyz@google.com>
src/cmd/link/internal/ld/lib.go