]> Cypherpunks repositories - gostls13.git/commit
cmd/internal/obj/arm64: handle global address in LDP/STP
authorCherry Zhang <cherryyz@google.com>
Mon, 23 Oct 2017 13:39:13 +0000 (09:39 -0400)
committerCherry Zhang <cherryyz@google.com>
Mon, 23 Oct 2017 15:40:08 +0000 (15:40 +0000)
commit083338cb976763e7a77e787827b24228fbaa7bf3
treea2697a8edd583f9b73ca5cd408a3f59087a9dfdf
parent006bc57095e7b1221ecc292735a510a52a27292c
cmd/internal/obj/arm64: handle global address in LDP/STP

The addressing mode of global variable was missing, whereas the
compiler may make use of it, causing "illegal combination" error.
This CL adds support of that addressing mode.

Fixes #22390.

Change-Id: Ic8eade31aba73e6fb895f758ee7f277f8f1832ef
Reviewed-on: https://go-review.googlesource.com/72610
Run-TryBot: Cherry Zhang <cherryyz@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: David Chase <drchase@google.com>
src/cmd/asm/internal/asm/testdata/arm64.s
src/cmd/internal/obj/arm64/asm7.go