cmd/link: stop requiring the math package on ARM

It was needed for the old softfloat implementation, which has
long gone.

Change-Id: Ib8d53689209a3b003d62f84c7c6047d8ec5df859
Reviewed-on: https://go-review.googlesource.com/c/go/+/220719
Reviewed-by: Than McIntosh <thanm@google.com>
This commit is contained in:
Cherry Zhang 2020-02-24 17:10:50 -05:00
parent 2783249068
commit 490bc6097a
1 changed files with 0 additions and 3 deletions

View File

@ -409,9 +409,6 @@ func (ctxt *Link) loadlib() {
}
// load internal packages, if not already
if ctxt.Arch.Family == sys.ARM {
loadinternal(ctxt, "math")
}
if *flagRace {
loadinternal(ctxt, "runtime/race")
}