[COMMITTED] libdw: Add DWARF5 package file section identifiers, DW_SECT_*
Commit Message
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 | 5 +++++
libdw/dwarf.h | 13 +++++++++++++
2 files changed, 18 insertions(+)
@@ -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.
@@ -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