diff options
author | Mark Wielaard <mark@klomp.org> | 2022-04-13 17:23:57 +0200 |
---|---|---|
committer | Mark Wielaard <mark@klomp.org> | 2022-04-13 17:26:13 +0200 |
commit | 399b55a75830f1854c8da9f29282810e82f270b6 (patch) | |
tree | d05f279edc982e7ec62c3c37c41eb0284b1b4b7c | |
parent | 55e67ce44439f7b4a97d268cd7da261b9bda3277 (diff) | |
download | elfutils-399b55a75830f1854c8da9f29282810e82f270b6.tar.gz |
libdw: Add DWARF5 package file section identifiers, DW_SECT_*
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>
-rw-r--r-- | libdw/ChangeLog | 5 | ||||
-rw-r--r-- | libdw/dwarf.h | 13 |
2 files changed, 18 insertions, 0 deletions
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 |