diff options
author | Paul E. Murphy <murp@ibm.com> | 2022-09-27 13:21:52 -0500 |
---|---|---|
committer | Paul Murphy <murp@ibm.com> | 2022-09-29 19:54:44 +0000 |
commit | 27d4cdd1a6280e906c4f6bd89b5882a51ad64099 (patch) | |
tree | d9353ff25e1383bbea0cd5c46c24dee06278f5ff /src/debug | |
parent | 545adcfe89458c5df714c27992064733b07491f9 (diff) | |
download | go-27d4cdd1a6280e906c4f6bd89b5882a51ad64099.tar.gz go-27d4cdd1a6280e906c4f6bd89b5882a51ad64099.zip |
debug/elf: fix typo in R_PPC64_TPREL34 and R_PPC64_DTPREL34
The suffix should be 34 not 28. I misread the name because the
reloc listed before these two in the ABI is named "R_PC64_PCREL28".
Updates #54345
Change-Id: Ie8238f55e441c787d70ead58e0a177c650f8b89e
Reviewed-on: https://go-review.googlesource.com/c/go/+/435415
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Run-TryBot: Paul Murphy <murp@ibm.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Diffstat (limited to 'src/debug')
-rw-r--r-- | src/debug/elf/elf.go | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/debug/elf/elf.go b/src/debug/elf/elf.go index 5e273223ae..77d7b0988c 100644 --- a/src/debug/elf/elf.go +++ b/src/debug/elf/elf.go @@ -2661,8 +2661,8 @@ const ( R_PPC64_REL16_HIGHESTA34 R_PPC64 = 143 R_PPC64_D28 R_PPC64 = 144 R_PPC64_PCREL28 R_PPC64 = 145 - R_PPC64_TPREL28 R_PPC64 = 146 - R_PPC64_DTPREL28 R_PPC64 = 147 + R_PPC64_TPREL34 R_PPC64 = 146 + R_PPC64_DTPREL34 R_PPC64 = 147 R_PPC64_GOT_TLSGD_PCREL34 R_PPC64 = 148 R_PPC64_GOT_TLSLD_PCREL34 R_PPC64 = 149 R_PPC64_GOT_TPREL_PCREL34 R_PPC64 = 150 @@ -2824,8 +2824,8 @@ var rppc64Strings = []intName{ {143, "R_PPC64_REL16_HIGHESTA34"}, {144, "R_PPC64_D28"}, {145, "R_PPC64_PCREL28"}, - {146, "R_PPC64_TPREL28"}, - {147, "R_PPC64_DTPREL28"}, + {146, "R_PPC64_TPREL34"}, + {147, "R_PPC64_DTPREL34"}, {148, "R_PPC64_GOT_TLSGD_PCREL34"}, {149, "R_PPC64_GOT_TLSLD_PCREL34"}, {150, "R_PPC64_GOT_TPREL_PCREL34"}, |