]> Cypherpunks.ru repositories - gostls13.git/commitdiff
debug/elf: fix reloc number of R_PPC64_SECTOFF_LO_DS
authorPaul E. Murphy <murp@ibm.com>
Mon, 13 Jun 2022 16:05:18 +0000 (11:05 -0500)
committerPaul Murphy <murp@ibm.com>
Sat, 27 Aug 2022 02:36:28 +0000 (02:36 +0000)
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>

api/except.txt
api/next/53356.txt [new file with mode: 0644]
src/debug/elf/elf.go

index 2acd444adf3718558738719aada12f56a01a932f..eaaf86a2ec500e0fbc95747c98a8a23fb11c0e1e 100644 (file)
@@ -1,3 +1,4 @@
+pkg debug/elf, const R_PPC64_SECTOFF_LO_DS = 61
 pkg encoding/json, method (*RawMessage) MarshalJSON() ([]uint8, error)
 pkg math, const MaxFloat64 = 1.79769e+308  // 179769313486231570814527423731704356798100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
 pkg math, const SmallestNonzeroFloat32 = 1.4013e-45  // 17516230804060213386546619791123951641/12500000000000000000000000000000000000000000000000000000000000000000000000000000000
diff --git a/api/next/53356.txt b/api/next/53356.txt
new file mode 100644 (file)
index 0000000..607c5ec
--- /dev/null
@@ -0,0 +1 @@
+pkg debug/elf, const R_PPC64_SECTOFF_LO_DS = 62 #53356
index 095c0898ec83e5d8819576adc29143fd103bb753..f3ad6e27af4ed7e53c54edf80be7485f53282fe2 100644 (file)
@@ -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"},