]> Cypherpunks repositories - gostls13.git/commit
cmd/link: fix ARM gold linker check
authorElias Naur <elias.naur@gmail.com>
Wed, 25 May 2016 11:24:36 +0000 (13:24 +0200)
committerElias Naur <elias.naur@gmail.com>
Wed, 25 May 2016 11:50:49 +0000 (11:50 +0000)
commitf2f3b6cd8fbe9f823fd6946f055bb70c3ef6f9db
tree393ece9392f845b92985b314dcf83106f17ad2cd
parent72eb46c5a086051e3677579a0810922724eb6a6d
cmd/link: fix ARM gold linker check

CL 23400 introduced a check to make sure the gold linker is used
on ARM host links. The check itself works, but the error checking
logic was reversed; fix it.

I manually verified that the check now correctly rejects host links
on my RPi2 running an ancient rasbian without the gold linker
installed.

Updates #15696

Change-Id: I927832620f0a60e91a71fdedf8cbd2550247b666
Reviewed-on: https://go-review.googlesource.com/23421
Run-TryBot: Elias Naur <elias.naur@gmail.com>
Reviewed-by: David Crawshaw <crawshaw@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/cmd/link/internal/ld/lib.go