cmd/link: simplify peemitreloc
cmd/link: simplify peemitreloc

No functional changes.

For #10776.

Change-Id: If9a5ef832af116c5802b06a38e0c050d7363f2d5
Reviewed-on: https://go-review.googlesource.com/36981
Run-TryBot: Alex Brainman <54ba58c8441b5eff861de6b4e5ee46baf086b142@gmail.com>
TryBot-Result: Gobot Gobot <66cb808b70d30c07676d5e946fee83fd561249e5@golang.org>
Reviewed-by: Ian Lance Taylor <87e9c6d529889242b7e184afb632328636553ab4@golang.org>

vsekhar/elastic-go,linux-on-ibm-z/go,golang/go,vsekhar/elastic-go,nawawi/go,vsekhar/elastic-go,nawawi/go,akutz/go,ImJasonH/go,vsekhar/elastic-go,polyverse-security/go,nawawi/go,CAFxX/go,Cofyc/go,codestation/go,vsekhar/elastic-go,derekmarcotte/go,CAFxX/go,polyverse-security/go,polyverse-security/go,nawawi/go,josharian/go,Cofyc/go,josharian/go,derekmarcotte/go,nawawi/go,vsekhar/elastic-go,derekmarcotte/go,CAFxX/go,akutz/go,cloudflare/go,ImJasonH/go,golang/go,cloudflare/go,akutz/go,golang/go,polyverse-security/go,codestation/go,codestation/go,Cofyc/go,Cofyc/go,codestation/go,linux-on-ibm-z/go,linux-on-ibm-z/go,nawawi/go,linux-on-ibm-z/go,cloudflare/go,derekmarcotte/go,derekmarcotte/go,ImJasonH/go,ImJasonH/go,codestation/go,golang/go,nawawi/go,linux-on-ibm-z/go,ImJasonH/go,cloudflare/go,josharian/go,golang/go,CAFxX/go,golang/go,christopher-henderson/Go,josharian/go,codestation/go,nawawi/go,golang/go,cloudflare/go,polyverse-security/go,akutz/go,linux-on-ibm-z/go,derekmarcotte/go,josharian/go,CAFxX/go,akutz/go,josharian/go,akutz/go,CAFxX/go,vsekhar/elastic-go,akutz/go,josharian/go,Cofyc/go,linux-on-ibm-z/go,josharian/go,codestation/go,Cofyc/go,cloudflare/go,akutz/go,ImJasonH/go,polyverse-security/go,CAFxX/go,Cofyc/go,golang/go,cloudflare/go,vsekhar/elastic-go,derekmarcotte/go,linux-on-ibm-z/go,Cofyc/go,cloudflare/go,CAFxX/go,polyverse-security/go,polyverse-security/go,ImJasonH/go,derekmarcotte/go,ImJasonH/go,codestation/go