mirror of
https://github.com/golang/go
synced 2024-11-25 02:17:57 -07:00
debug/elf: define non-standard but well-known symbol types
Fixes #66836 Change-Id: I603faca2acd2bcffabbcaca8b8670d46387d2a5b Reviewed-on: https://go-review.googlesource.com/c/go/+/578995 Commit-Queue: Ian Lance Taylor <iant@google.com> Reviewed-by: Ian Lance Taylor <iant@google.com> Auto-Submit: Ian Lance Taylor <iant@golang.org> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Auto-Submit: Ian Lance Taylor <iant@google.com> Reviewed-by: Cherry Mui <cherryyz@google.com>
This commit is contained in:
parent
1488bb6c4c
commit
315b6ae682
6
api/next/66836.txt
Normal file
6
api/next/66836.txt
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
pkg debug/elf, const STT_GNU_IFUNC = 10 #66836
|
||||||
|
pkg debug/elf, const STT_GNU_IFUNC SymType #66836
|
||||||
|
pkg debug/elf, const STT_RELC = 8 #66836
|
||||||
|
pkg debug/elf, const STT_RELC SymType #66836
|
||||||
|
pkg debug/elf, const STT_SRELC = 9 #66836
|
||||||
|
pkg debug/elf, const STT_SRELC SymType #66836
|
2
doc/next/6-stdlib/99-minor/debug/elf/66836.md
Normal file
2
doc/next/6-stdlib/99-minor/debug/elf/66836.md
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
Now defines the symbol type constants [STT_RELC], [STT_SRELC], and
|
||||||
|
[STT_GNU_IFUNC].
|
@ -1287,6 +1287,11 @@ const (
|
|||||||
STT_HIOS SymType = 12 /* specific semantics. */
|
STT_HIOS SymType = 12 /* specific semantics. */
|
||||||
STT_LOPROC SymType = 13 /* reserved range for processor */
|
STT_LOPROC SymType = 13 /* reserved range for processor */
|
||||||
STT_HIPROC SymType = 15 /* specific semantics. */
|
STT_HIPROC SymType = 15 /* specific semantics. */
|
||||||
|
|
||||||
|
/* Non-standard symbol types. */
|
||||||
|
STT_RELC SymType = 8 /* Complex relocation expression. */
|
||||||
|
STT_SRELC SymType = 9 /* Signed complex relocation expression. */
|
||||||
|
STT_GNU_IFUNC SymType = 10 /* Indirect code object. */
|
||||||
)
|
)
|
||||||
|
|
||||||
var sttStrings = []intName{
|
var sttStrings = []intName{
|
||||||
@ -1297,6 +1302,8 @@ var sttStrings = []intName{
|
|||||||
{4, "STT_FILE"},
|
{4, "STT_FILE"},
|
||||||
{5, "STT_COMMON"},
|
{5, "STT_COMMON"},
|
||||||
{6, "STT_TLS"},
|
{6, "STT_TLS"},
|
||||||
|
{8, "STT_RELC"},
|
||||||
|
{9, "STT_SRELC"},
|
||||||
{10, "STT_LOOS"},
|
{10, "STT_LOOS"},
|
||||||
{12, "STT_HIOS"},
|
{12, "STT_HIOS"},
|
||||||
{13, "STT_LOPROC"},
|
{13, "STT_LOPROC"},
|
||||||
|
Loading…
Reference in New Issue
Block a user