]> Cypherpunks.ru repositories - gostls13.git/commit
debug/elf,cmd/link: add additional MIPS64 relocation type
authorJoel Sing <joel@sing.id.au>
Sat, 18 Feb 2023 05:41:25 +0000 (16:41 +1100)
committerJoel Sing <joel@sing.id.au>
Fri, 8 Sep 2023 04:32:10 +0000 (04:32 +0000)
commit1152615d208060afd4b6c492cc2abb8a989a8c9b
treeabe96dba61b35e3ddde6ee3e10c9475579e7f5d7
parent7f574998534548220ae31597a5a942db2ed548c6
debug/elf,cmd/link: add additional MIPS64 relocation type

Add R_MIPS_PC32 which is a 32 bit PC relative relocation.

These are produced by LLVM on mips64.

Fixes #61974

Change-Id: I7b6c6848e40249e6d5ea474ea53c9d7e3ab23f88
Reviewed-on: https://go-review.googlesource.com/c/go/+/469395
Reviewed-by: Matthew Dempsky <mdempsky@google.com>
Run-TryBot: Joel Sing <joel@sing.id.au>
Reviewed-by: Junxian Zhu <zhujunxian@oss.cipunited.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
api/next/61974.txt [new file with mode: 0644]
src/cmd/link/internal/loadelf/ldelf.go
src/debug/elf/elf.go