]> Cypherpunks.ru repositories - gostls13.git/commit
debug/elf: define R_PPC64_REL24_P9NOTOC
authorPaul E. Murphy <murp@ibm.com>
Mon, 22 May 2023 15:38:12 +0000 (10:38 -0500)
committerPaul Murphy <murp@ibm.com>
Tue, 23 May 2023 21:46:00 +0000 (21:46 +0000)
commit26f25692b8107f06a16dd103672ba4b5c3e4571f
treec36aa86613bc0913972eecc09d92b15d8acf672f
parent94c75232fbe4e24c38f728fd05e0a151893fb2c5
debug/elf: define R_PPC64_REL24_P9NOTOC

This relocation is not (yet?) defined in ELFv2, but has been added to
gnu gas a couple years ago. It is the same reloc as
R_PPC64_REL24_NOTOC, but hints power10 instructions should not be
emitted.

See binutils commit 7aba54da426b9999085d8f84e7896b8afdbb9ca6.

Fixes #60348

Change-Id: Ie953cd7bf1ffc621b498d4dbebb5de1231833c8f
Reviewed-on: https://go-review.googlesource.com/c/go/+/496918
Run-TryBot: Paul Murphy <murp@ibm.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Reviewed-by: Matthew Dempsky <mdempsky@google.com>
api/next/60348.txt [new file with mode: 0644]
src/debug/elf/elf.go