]> Cypherpunks repositories - gostls13.git/commit
cmd/internal/objabi,cmd/link: add support for additional riscv64 relocations
authorJoel Sing <joel@sing.id.au>
Fri, 25 Jul 2025 10:40:24 +0000 (20:40 +1000)
committerJoel Sing <joel@sing.id.au>
Thu, 21 Aug 2025 13:15:34 +0000 (06:15 -0700)
commitffc85ee1f1c865c953920f966a8401d963b102ca
tree3bac6b7c2ba79b9e31d1f6a16b5abb149cbd24f7
parent9de69f6913dc253ee8ce67043f543bedde28fdb4
cmd/internal/objabi,cmd/link: add support for additional riscv64 relocations

These additional relocation types are encountered when using the
Go race detector with riscv64.

Updates #64345

Change-Id: I6de6430165fb378463da1af9402198a3a31485ca
Reviewed-on: https://go-review.googlesource.com/c/go/+/690496
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Meng Zhuo <mengzhuo1203@gmail.com>
src/cmd/internal/objabi/reloctype.go
src/cmd/internal/objabi/reloctype_string.go
src/cmd/link/internal/loadelf/ldelf.go
src/cmd/link/internal/riscv64/asm.go