about summary refs log tree commit diff
path: root/scripts
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2022-03-29 14:08:54 -0700
committerH.J. Lu <hjl.tools@gmail.com>2022-04-26 10:16:11 -0700
commit4610b24f5e4e6d2c4b769594efa6d460943163bb (patch)
tree7aa030387b14d2a2a1bc8dc22aa2609fdb0d13f1 /scripts
parent098a657fe449a217cf65c5270d5fbc8d40b5b4e6 (diff)
downloadglibc-4610b24f5e4e6d2c4b769594efa6d460943163bb.tar.gz
glibc-4610b24f5e4e6d2c4b769594efa6d460943163bb.tar.xz
glibc-4610b24f5e4e6d2c4b769594efa6d460943163bb.zip
elf: Define DT_RELR related macros and types
Diffstat (limited to 'scripts')
-rw-r--r--scripts/glibcelf.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/glibcelf.py b/scripts/glibcelf.py
index da0d5380f3..f847b36c55 100644
--- a/scripts/glibcelf.py
+++ b/scripts/glibcelf.py
@@ -304,6 +304,7 @@ class Sht(_OpenIntEnum):
     SHT_PREINIT_ARRAY = 16
     SHT_GROUP = 17
     SHT_SYMTAB_SHNDX = 18
+    SHT_RELR = 19
     SHT_GNU_ATTRIBUTES = 0x6ffffff5
     SHT_GNU_HASH = 0x6ffffff6
     SHT_GNU_LIBLIST = 0x6ffffff7
@@ -593,6 +594,9 @@ class Dt(_OpenIntEnum):
     DT_PREINIT_ARRAY = 32
     DT_PREINIT_ARRAYSZ = 33
     DT_SYMTAB_SHNDX = 34
+    DT_RELRSZ = 35
+    DT_RELR = 36
+    DT_RELRENT = 37
     DT_GNU_PRELINKED = 0x6ffffdf5
     DT_GNU_CONFLICTSZ = 0x6ffffdf6
     DT_GNU_LIBLISTSZ = 0x6ffffdf7