]> Cypherpunks repositories - gostls13.git/commit
cmd/link/internal/ld: fix c-archive mach-o compatibility
authorAman Gupta <aman@tmm1.net>
Tue, 2 Apr 2019 11:35:50 +0000 (04:35 -0700)
committerIan Lance Taylor <iant@golang.org>
Thu, 11 Apr 2019 04:49:51 +0000 (04:49 +0000)
commit3cb92fcba71f9c0d64b3b714fc92870065848345
tree81a393c85e63b888f439025c31c7ef0539929ecf
parent7b33b6274f36ecc5dd5c24c99c2f72d3edf79b3d
cmd/link/internal/ld: fix c-archive mach-o compatibility

These workarounds predate proper DWARF support
and are no longer necessary.

Before this patch, running `/usr/bin/symbols go.o`
using the object in the c-archive would fail, causing
App Store rejections.

Fixes #31022 #28997

Change-Id: I6a210b6369c13038777c6e21e874e81afcb50c2f
Reviewed-on: https://go-review.googlesource.com/c/go/+/170377
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/cmd/link/dwarf_test.go
src/cmd/link/internal/ld/macho.go