aboutsummaryrefslogtreecommitdiff
path: root/src/debug/elf
diff options
context:
space:
mode:
Diffstat (limited to 'src/debug/elf')
-rw-r--r--src/debug/elf/elf.go7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/debug/elf/elf.go b/src/debug/elf/elf.go
index b97ddbf7cf..cecda61ed6 100644
--- a/src/debug/elf/elf.go
+++ b/src/debug/elf/elf.go
@@ -1287,6 +1287,11 @@ const (
STT_HIOS SymType = 12 /* specific semantics. */
STT_LOPROC SymType = 13 /* reserved range for processor */
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{
@@ -1297,6 +1302,8 @@ var sttStrings = []intName{
{4, "STT_FILE"},
{5, "STT_COMMON"},
{6, "STT_TLS"},
+ {8, "STT_RELC"},
+ {9, "STT_SRELC"},
{10, "STT_LOOS"},
{12, "STT_HIOS"},
{13, "STT_LOPROC"},