]> git.ipfire.org Git - thirdparty/elfutils.git/commitdiff
libdw: Add new DWARF5 character encodings.
authorMark Wielaard <mark@klomp.org>
Wed, 26 Jul 2017 15:38:22 +0000 (17:38 +0200)
committerMark Wielaard <mark@klomp.org>
Wed, 2 Aug 2017 11:51:51 +0000 (13:51 +0200)
Add DW_ATE_UCS and DW_ATE_ASCII for Fortran 2003 string kinds ASCII
(ISO/IEC 646:1991) and ISO_10646 (UCS-4 in ISO/IEC 10646:2000).

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

index 09c8d147aafdb2038cde49defdf57016cbb5bc1a..cd91c5a7051d6a186def1a6730e643668348dc72 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,7 @@
 2017-07-25  Mark Wielaard  <mark@klomp.org>
 
-       * NEWS: Mention new DWARF5 attributes and tags in dwarf.h.
+       * NEWS: Mention new DWARF5 attributes, tags and character encodings
+       in dwarf.h.
 
 2017-07-18  Mark Wielaard  <mark@klomp.org>
 
diff --git a/NEWS b/NEWS
index 6a5ee0d5702bbc4099ab58a86936fc9a81dad80e..9437061c9ee4cb723708b152ea458ccc22227234 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -1,6 +1,7 @@
 Version 0.170
 
-libdw: Added new DWARF5 attribute and tag constants to dwarf.h.
+libdw: Added new DWARF5 attribute, tag and character encodings constants
+       to dwarf.h.
 
 strip: Add -R, --remove-section=SECTION and --keep-section=SECTION.
 
index 4bf46c09c1769fdb64bb71a210fbc8e938c7ac1e..25a9648521cb89b06fdc1db6d72ca5d48efa5ad7 100644 (file)
@@ -1,3 +1,7 @@
+2017-07-26  Mark Wielaard  <mark@klomp.org>
+
+       * dwarf.h: Add DW_ATE_UCS and DW_ATE_ASCII.
+
 2017-07-25  Mark Wielaard  <mark@klomp.org>
 
        * dwarf.h: Add DW_TAG_coarray_type, DW_TAG_generic_subrange,
index c9987843ad915a5287e8e91736380a103b6cef51..407227217e050082437f8017dff2637642b1dc37 100644 (file)
@@ -571,6 +571,8 @@ enum
     DW_ATE_unsigned_fixed = 0xe,
     DW_ATE_decimal_float = 0xf,
     DW_ATE_UTF = 0x10,
+    DW_ATE_UCS = 0x11,
+    DW_ATE_ASCII = 0x12,
 
     DW_ATE_lo_user = 0x80,
     DW_ATE_hi_user = 0xff