aboutsummaryrefslogtreecommitdiff
path: root/src/debug/elf/elf.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/debug/elf/elf.go')
-rw-r--r--src/debug/elf/elf.go9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/debug/elf/elf.go b/src/debug/elf/elf.go
index cecda61ed6..e902f84665 100644
--- a/src/debug/elf/elf.go
+++ b/src/debug/elf/elf.go
@@ -3579,6 +3579,15 @@ type intName struct {
s string
}
+// Dynamic version flags.
+type DynamicVersionFlag uint16
+
+const (
+ VER_FLG_BASE DynamicVersionFlag = 0x1 /* Version definition of the file. */
+ VER_FLG_WEAK DynamicVersionFlag = 0x2 /* Weak version identifier. */
+ VER_FLG_INFO DynamicVersionFlag = 0x4 /* Reference exists for informational purposes. */
+)
+
func stringName(i uint32, names []intName, goSyntax bool) string {
for _, n := range names {
if n.i == i {