]> Cypherpunks repositories - gostls13.git/commit
all: use RET instead of RETURN on ppc64
authorAustin Clements <austin@google.com>
Wed, 3 Jun 2015 18:59:27 +0000 (14:59 -0400)
committerAustin Clements <austin@google.com>
Sat, 6 Jun 2015 00:07:23 +0000 (00:07 +0000)
commit2774b37306616380c00a4fde7f46bde1a8668ece
tree592b909c5f2830e705e6c1d6d5e366b19a13dc34
parent11b992818549aa169c96363c9242fe66b4073d34
all: use RET instead of RETURN on ppc64

All of the architectures except ppc64 have only "RET" for the return
mnemonic. ppc64 used to have only "RETURN", but commit cf06ea6
introduced RET as a synonym for RETURN to make ppc64 consistent with
the other architectures. However, that commit was never followed up to
make the code itself consistent by eliminating uses of RETURN.

This commit replaces all uses of RETURN in the ppc64 assembly with
RET.

This was done with
    sed -i 's/\<RETURN\>/RET/' **/*_ppc64x.s
plus one manual change to syscall/asm.s.

Change-Id: I3f6c8d2be157df8841d48de988ee43f3e3087995
Reviewed-on: https://go-review.googlesource.com/10672
Reviewed-by: Rob Pike <r@golang.org>
Reviewed-by: Russ Cox <rsc@golang.org>
Reviewed-by: Minux Ma <minux@golang.org>
src/math/abs_ppc64x.s
src/reflect/asm_ppc64x.s
src/runtime/asm_ppc64x.s
src/runtime/atomic_ppc64x.s
src/runtime/duff_ppc64x.s
src/runtime/memclr_ppc64x.s
src/runtime/memmove_ppc64x.s
src/runtime/sys_linux_ppc64x.s
src/sync/atomic/asm_ppc64x.s
src/syscall/asm.s
src/syscall/asm_linux_ppc64x.s