aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/internal/obj/mips
diff options
context:
space:
mode:
authorCherry Zhang <lunaria21@gmail.com>2016-04-27 22:17:36 -0400
committerMinux Ma <minux@golang.org>2016-05-01 02:36:28 +0000
commita409fb80b0ebc1353336a9c03f8db408fbc6d1d5 (patch)
treec194dc551cd646e3f90f99ba8aa8482e5fd1906b /src/cmd/internal/obj/mips
parent9bc1e2065c3a4ac257bebc5c7c07cd5c844b11ba (diff)
downloadgo-a409fb80b0ebc1353336a9c03f8db408fbc6d1d5.tar.xz
cmd/internal/obj/mips, runtime: change REGTMP to R23
Leave R28 to SB register, which will be introduced in CL 19802. Change-Id: I1cf7a789695c5de664267ec8086bfb0b043ebc14 Reviewed-on: https://go-review.googlesource.com/19863 Reviewed-by: Minux Ma <minux@golang.org>
Diffstat (limited to 'src/cmd/internal/obj/mips')
-rw-r--r--src/cmd/internal/obj/mips/a.out.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/internal/obj/mips/a.out.go b/src/cmd/internal/obj/mips/a.out.go
index 692e73b532..da0d2616f7 100644
--- a/src/cmd/internal/obj/mips/a.out.go
+++ b/src/cmd/internal/obj/mips/a.out.go
@@ -195,7 +195,7 @@ const (
REGRT2 = REG_R2 /* reserved for runtime, duffcopy */
REGCTXT = REG_R22 /* context for closures */
REGG = REG_R30 /* G */
- REGTMP = REG_R28 /* used by the linker */
+ REGTMP = REG_R23 /* used by the linker */
FREGRET = REG_F0
FREGZERO = REG_F24 /* both float and double */
FREGHALF = REG_F26 /* double */