Commit 16310571 authored by Austin Clements's avatar Austin Clements

cmd/asm: drop legacy RETURN mnemonic on ppc64

Change-Id: I999b57ef5535c18e02cc27c9bc9f896d73126b50
Reviewed-on: https://go-review.googlesource.com/10674Reviewed-by: default avatarRuss Cox <rsc@golang.org>
Reviewed-by: default avatarMinux Ma <minux@golang.org>
parent 9389a86b
...@@ -351,7 +351,6 @@ func archPPC64() *Arch { ...@@ -351,7 +351,6 @@ func archPPC64() *Arch {
// Annoying aliases. // Annoying aliases.
instructions["BR"] = ppc64.ABR instructions["BR"] = ppc64.ABR
instructions["BL"] = ppc64.ABL instructions["BL"] = ppc64.ABL
instructions["RETURN"] = ppc64.ARETURN
return &Arch{ return &Arch{
LinkArch: &ppc64.Linkppc64, LinkArch: &ppc64.Linkppc64,
......
...@@ -692,13 +692,13 @@ label1: ...@@ -692,13 +692,13 @@ label1:
// } // }
NOP $4 NOP $4
// RETURN // RET
// //
// LRETRN comma // asm doesn't support the trailing comma. // LRETRN comma // asm doesn't support the trailing comma.
// { // {
// outcode(int($1), &nullgen, 0, &nullgen); // outcode(int($1), &nullgen, 0, &nullgen);
// } // }
RETURN RET
// END // END
// //
......
...@@ -533,7 +533,6 @@ const ( ...@@ -533,7 +533,6 @@ const (
ALAST ALAST
// aliases // aliases
ABR = obj.AJMP ABR = obj.AJMP
ABL = obj.ACALL ABL = obj.ACALL
ARETURN = obj.ARET
) )
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment