* [COMMITTED] libdw: Add DWARF5 package file section identifiers, DW_SECT_*
@ 2022-04-13 15:59 Mark Wielaard
0 siblings, 0 replies; only message in thread
From: Mark Wielaard @ 2022-04-13 15:59 UTC (permalink / raw)
To: elfutils-devel; +Cc: Mark Wielaard
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(+)
diff --git a/libdw/ChangeLog b/libdw/ChangeLog
index ca742e6b..38f3a7e2 100644
--- a/libdw/ChangeLog
+++ b/libdw/ChangeLog
@@ -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.
diff --git a/libdw/dwarf.h b/libdw/dwarf.h
index 3ce7f236..c961bc36 100644
--- a/libdw/dwarf.h
+++ b/libdw/dwarf.h
@@ -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
--
2.18.4
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-04-13 15:59 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-13 15:59 [COMMITTED] libdw: Add DWARF5 package file section identifiers, DW_SECT_* Mark Wielaard
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).