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: 's avatarRuss Cox <rsc@golang.org>
Reviewed-by: 's avatarMinux Ma <minux@golang.org>
parent 9389a86b
......@@ -351,7 +351,6 @@ func archPPC64() *Arch {
// Annoying aliases.
instructions["BR"] = ppc64.ABR
instructions["BL"] = ppc64.ABL
instructions["RETURN"] = ppc64.ARETURN
return &Arch{
LinkArch: &ppc64.Linkppc64,
......
......@@ -692,13 +692,13 @@ label1:
// }
NOP $4
// RETURN
// RET
//
// LRETRN comma // asm doesn't support the trailing comma.
// {
// outcode(int($1), &nullgen, 0, &nullgen);
// }
RETURN
RET
// END
//
......
......@@ -533,7 +533,6 @@ const (
ALAST
// aliases
ABR = obj.AJMP
ABL = obj.ACALL
ARETURN = obj.ARET
ABR = obj.AJMP
ABL = obj.ACALL
)
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