mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
cmd/internal/obj/arm64, cmd/internal/ld, cmd/7l: remove absolute addressing in .text
This CL introduces R_ADDRARM64, which is similar to R_ADDRPOWER. Fixes #10112. Change-Id: I309e3df7608b9eef9339196fdc50dedf5f9439f1 Reviewed-on: https://go-review.googlesource.com/8438 Reviewed-by: Aram Hăvărneanu <aram@mgk.ro> Reviewed-by: David Crawshaw <crawshaw@golang.org>
This commit is contained in:
parent
f55b2a11f4
commit
6e3a2a3f9f
6 changed files with 392 additions and 313 deletions
|
|
@ -362,6 +362,7 @@ type Reloc struct {
|
|||
const (
|
||||
R_ADDR = 1 + iota
|
||||
R_ADDRPOWER
|
||||
R_ADDRARM64
|
||||
R_SIZE
|
||||
R_CALL
|
||||
R_CALLARM
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue