mirror of
https://github.com/golang/go.git
synced 2025-11-10 21:51:05 +00:00
cmd/internal/obj: enable got pcrel itype in fips140 for riscv64
This CL enable R_RISCV_GOT_PCREL_ITYPE in fips140 Fixes #74662 Change-Id: Ic189c4e352517ae74034f207a5f944b610f2eb73 Reviewed-on: https://go-review.googlesource.com/c/go/+/688635 Reviewed-by: Mark Ryan <markdryan@rivosinc.com> Reviewed-by: Cherry Mui <cherryyz@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Carlos Amedee <carlos@golang.org> Reviewed-by: Julian Zhu <jz531210@gmail.com>
This commit is contained in:
parent
e32255fcc0
commit
2363897932
1 changed files with 1 additions and 0 deletions
|
|
@ -384,6 +384,7 @@ func (s *LSym) checkFIPSReloc(ctxt *Link, rel Reloc) {
|
|||
objabi.R_RISCV_TLS_IE,
|
||||
objabi.R_RISCV_TLS_LE,
|
||||
objabi.R_RISCV_GOT_HI20,
|
||||
objabi.R_RISCV_GOT_PCREL_ITYPE,
|
||||
objabi.R_RISCV_PCREL_HI20,
|
||||
objabi.R_RISCV_PCREL_LO12_I,
|
||||
objabi.R_RISCV_PCREL_LO12_S,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue