]> Cypherpunks repositories - gostls13.git/commit
[dev.cc] cmd/asm: fix build: handle g in register lists on ARM
authorRob Pike <r@golang.org>
Tue, 17 Feb 2015 16:24:08 +0000 (08:24 -0800)
committerRob Pike <r@golang.org>
Tue, 17 Feb 2015 17:23:10 +0000 (17:23 +0000)
commit09ce5d38d04da7e5f3b42ddfd2d6d669e017f4a9
treefe4a53132fb1e03559b11ddb7a19b828f42ca2c0
parent201b12499c6dd68d118f3152467bee50c1a97aee
[dev.cc] cmd/asm: fix build: handle g in register lists on ARM

Handle the special name of R10 on the ARM - it's g - when it appears
in a register list [R0, g, R3]. Also simplify the pseudo-register parsing
a little.

Should fix the ARM build.

Change-Id: Ifcafc8195dcd3622653b43663ced6e4a144a3e51
Reviewed-on: https://go-review.googlesource.com/4965
Reviewed-by: Russ Cox <rsc@golang.org>
src/cmd/asm/internal/asm/parse.go