]> Cypherpunks repositories - gostls13.git/commit
cmd/dist,cmd/go: define assembly macros, handle GOARM value with soft/hardfloat
authorCherry Mui <cherryyz@google.com>
Fri, 9 Feb 2024 19:17:18 +0000 (14:17 -0500)
committerCherry Mui <cherryyz@google.com>
Fri, 16 Feb 2024 18:14:03 +0000 (18:14 +0000)
commite4ebd13f7a6f216f7ddbaa1f2a3c97fd10bc3d23
tree138e3b5f9243fd8b548c537032cce90d6b95ba05
parenta0226c5680f3ce6b0d8a8341f8c69611f3008393
cmd/dist,cmd/go: define assembly macros, handle GOARM value with soft/hardfloat

CL 525637 added GOARM_x assembly macros based on GOARM value. But
it did not define the macro in cmd/dist, so the macro is not set
during bootstrapping. This CL defines them.

With CL 514907, cfg.GOARM can also take a soft/hardfloat suffix,
like "7,hardfloat". Handle that case.

For #65601.

Change-Id: I60ffe7e8b623ae693d91d6e8595067a6f76565b3
Reviewed-on: https://go-review.googlesource.com/c/go/+/562995
Run-TryBot: Cherry Mui <cherryyz@google.com>
Reviewed-by: Keith Randall <khr@golang.org>
Reviewed-by: Keith Randall <khr@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
src/cmd/dist/build.go
src/cmd/go/internal/work/gc.go