]> Cypherpunks repositories - gostls13.git/commit
cmd/internal/obj/arm64: add support for BTI instruction
authorJoel Sing <joel@sing.id.au>
Fri, 14 Jun 2024 15:29:02 +0000 (01:29 +1000)
committerJoel Sing <joel@sing.id.au>
Wed, 26 Mar 2025 10:48:50 +0000 (03:48 -0700)
commit9ce47e66e8eb7348005f1e45a77a729e7f146a1e
treeb865d7e90f21c328b1c69986e36176de7907ec39
parent99d97d7c4f2c2bb0df30f0ca79924754b3b424ec
cmd/internal/obj/arm64: add support for BTI instruction

Add support for the `BTI' instruction to the arm64 assembler. This
instruction provides Branch Target Identification for targets of
indirect branches. A BTI can be marked with a target type of
'C' (call), 'J' (jump) or 'JC' (jump or call).

Updates #66054

Change-Id: I1cf31a0382207bb75b9b2deb49ac298a59c00d8a
Reviewed-on: https://go-review.googlesource.com/c/go/+/646781
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Marvin Drees <marvin.drees@9elements.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
src/cmd/asm/internal/asm/testdata/arm64.s
src/cmd/asm/internal/asm/testdata/arm64error.s
src/cmd/internal/obj/arm64/a.out.go
src/cmd/internal/obj/arm64/anames.go
src/cmd/internal/obj/arm64/asm7.go
src/cmd/internal/obj/arm64/specialoperand_string.go