Skip to content

Commit 490bc60

Browse files
committed
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 <[email protected]>
1 parent 2783249 commit 490bc60

File tree

1 file changed

+0
-3
lines changed
  • src/cmd/link/internal/ld

1 file changed

+0
-3
lines changed

src/cmd/link/internal/ld/lib.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -409,9 +409,6 @@ func (ctxt *Link) loadlib() {
409409
}
410410

411411
// load internal packages, if not already
412-
if ctxt.Arch.Family == sys.ARM {
413-
loadinternal(ctxt, "math")
414-
}
415412
if *flagRace {
416413
loadinternal(ctxt, "runtime/race")
417414
}

0 commit comments

Comments
 (0)