Supplementary object files (#426)
[pyelftools.git] / elftools / elf / structs.py
index b437eec981f1750233c4bbb3e1877b04153457c1..74ea54d3ad29cec2b7a5f217a247d58b44b10369 100644 (file)
@@ -380,6 +380,11 @@ class ELFStructs(object):
             self.Elf_word('abi_tiny'),
         )
 
+    def _create_gnu_debugaltlink(self):
+        self.Elf_debugaltlink = Struct('Elf_debugaltlink',
+            CString("sup_filename"),
+            String("sup_checksum", length=20))
+
     def _create_gnu_property(self):
         # Structure of GNU property notes is documented in
         # https://github.com/hjl-tools/linux-abi/wiki/linux-abi-draft.pdf