]> git.ipfire.org Git - thirdparty/elfutils.git/commitdiff
libdw: Add DWARF5 package file section identifiers, DW_SECT_*
authorMark Wielaard <mark@klomp.org>
Wed, 13 Apr 2022 15:23:57 +0000 (17:23 +0200)
committerMark Wielaard <mark@klomp.org>
Wed, 13 Apr 2022 15:26:13 +0000 (17:26 +0200)
This only adds the constants. There is no handling of DWARF
package file (dwp) files for now.

https://sourceware.org/bugzilla/show_bug.cgi?id=29048

Signed-off-by: Mark Wielaard <mark@klomp.org>
libdw/ChangeLog
libdw/dwarf.h

index ca742e6bbd0144fab7fab1bdd97f1f43e13ce8be..38f3a7e279eeb63b9f006012f240b816597f6822 100644 (file)
@@ -1,3 +1,8 @@
+2022-04-13  Mark Wielaard  <mark@klomp.org>
+
+       * dwarf.h: Add DWARF5 package file section identifiers,
+       DW_SECT_*.
+
 2021-10-20  John M Mellor-Crummey  <johnmc@rice.edu>
 
        * dwarf_linecontext.c: New file.
index 3ce7f2366c8ac8056340a1c4c27e04f5c88cc9c3..c961bc36645a48fa873be8d5ef672d9864c312a2 100644 (file)
@@ -934,6 +934,19 @@ enum
     DW_LLE_GNU_start_length_entry = 0x3
   };
 
+/* DWARF5 package file section identifiers.  */
+enum
+  {
+    DW_SECT_INFO = 1,
+    /* Reserved = 2, */
+    DW_SECT_ABBREV = 3,
+    DW_SECT_LINE = 4,
+    DW_SECT_LOCLISTS = 5,
+    DW_SECT_STR_OFFSETS = 6,
+    DW_SECT_MACRO = 7,
+    DW_SECT_RNGLISTS = 8,
+  };
+
 
 /* DWARF call frame instruction encodings.  */
 enum