]> Cypherpunks repositories - gostls13.git/commit
cmd/link: correct Mach-O file flag
authorHiroshi Ioka <hirochachacha@gmail.com>
Sat, 12 Aug 2017 15:19:51 +0000 (00:19 +0900)
committerIan Lance Taylor <iant@golang.org>
Tue, 15 Aug 2017 00:13:10 +0000 (00:13 +0000)
commit90ffc40e4f3d81ad6b9f57092074f8fef68cf128
treea9a07cd45c8964990bcf87a94e3efdbd14f95771
parentf4abbc0e61544ba33379ce37597a90fc3b0942d3
cmd/link: correct Mach-O file flag

Only set MH_NOUNDEFS if there are no undefined symbols.
Doesn't seem to matter, but may as well do it right.

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