From: Mark Wielaard <mark@klomp.org>
To: elfutils-devel@sourceware.org
Cc: Mark Wielaard <mark@klomp.org>
Subject: [COMMITTED] libdw: Add DWARF5 package file section identifiers, DW_SECT_*
Date: Wed, 13 Apr 2022 17:59:43 +0200 [thread overview]
Message-ID: <20220413155943.21850-1-mark@klomp.org> (raw)
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
reply other threads:[~2022-04-13 15:59 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220413155943.21850-1-mark@klomp.org \
--to=mark@klomp.org \
--cc=elfutils-devel@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).