diff options
| author | Paul E. Murphy <murp@ibm.com> | 2022-06-13 11:05:18 -0500 |
|---|---|---|
| committer | Paul Murphy <murp@ibm.com> | 2022-08-27 02:36:28 +0000 |
| commit | a0948493ac693b46b4124a4380fd044c6a05f1b3 (patch) | |
| tree | ee7cb9b5e0022f0276e3c555805f1b80e1f47040 /src/debug | |
| parent | 333681d6a8cc6f352d42d04bcf26b39a1ea7ef83 (diff) | |
| download | go-a0948493ac693b46b4124a4380fd044c6a05f1b3.tar.xz | |
debug/elf: fix reloc number of R_PPC64_SECTOFF_LO_DS
R_PPC64_SECTOFF_LO_DS is defined as reloc 62 on all PPC64 ELF ABIs.
Fixes #53356
Change-Id: I5fabf6be32f3310c5aed47d4d654e05fb7bc9de0
Reviewed-on: https://go-review.googlesource.com/c/go/+/411915
Reviewed-by: Cherry Mui <cherryyz@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Run-TryBot: Paul Murphy <murp@ibm.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Diffstat (limited to 'src/debug')
| -rw-r--r-- | src/debug/elf/elf.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/debug/elf/elf.go b/src/debug/elf/elf.go index 095c0898ec..f3ad6e27af 100644 --- a/src/debug/elf/elf.go +++ b/src/debug/elf/elf.go @@ -2564,7 +2564,7 @@ const ( R_PPC64_GOT16_LO_DS R_PPC64 = 59 R_PPC64_PLT16_LO_DS R_PPC64 = 60 R_PPC64_SECTOFF_DS R_PPC64 = 61 - R_PPC64_SECTOFF_LO_DS R_PPC64 = 61 + R_PPC64_SECTOFF_LO_DS R_PPC64 = 62 R_PPC64_TOC16_DS R_PPC64 = 63 R_PPC64_TOC16_LO_DS R_PPC64 = 64 R_PPC64_PLTGOT16_DS R_PPC64 = 65 @@ -2673,7 +2673,7 @@ var rppc64Strings = []intName{ {59, "R_PPC64_GOT16_LO_DS"}, {60, "R_PPC64_PLT16_LO_DS"}, {61, "R_PPC64_SECTOFF_DS"}, - {61, "R_PPC64_SECTOFF_LO_DS"}, + {62, "R_PPC64_SECTOFF_LO_DS"}, {63, "R_PPC64_TOC16_DS"}, {64, "R_PPC64_TOC16_LO_DS"}, {65, "R_PPC64_PLTGOT16_DS"}, |
