]> Cypherpunks repositories - gostls13.git/commit
cmd/internal/obj/arm64: fix branch-too-far with TBZ like instructions
authorCherry Zhang <cherryyz@google.com>
Sat, 17 Feb 2018 15:31:39 +0000 (10:31 -0500)
committerCherry Zhang <cherryyz@google.com>
Tue, 13 Mar 2018 13:27:58 +0000 (13:27 +0000)
commit911839c1f462260db0f001f8e017f10f688d2270
tree824efae539df2ebe692674b97fbf5317ac58ba6c
parent3c16934f1638d3d756fb315b847a3805ac06de88
cmd/internal/obj/arm64: fix branch-too-far with TBZ like instructions

The compiler now emits TBZ like instructions, but the assembler's
too-far-branch patch code didn't include that case. Add it.

Fixes #23889.

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