summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>2010-06-21 16:29:51 +0000
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>2010-06-21 16:29:51 +0000
commit952114f80d2fff8fc06e971ea505b5303d2ed19c (patch)
treecc820f508c3e77bd486eae7090bdd9a97c671d69 /include
parenta7534a68f03df3aad6e34ee5689d82797fe7d32f (diff)
downloadgcc-952114f80d2fff8fc06e971ea505b5303d2ed19c.tar.gz
* dwarf2.h (enum dwarf_type): Add DW_ATE_UTF.
* dwarf2out.c (base_type_die): Use DW_ATE_UTF for C++ char16_t and char32_t. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@161095 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'include')
-rw-r--r--include/ChangeLog4
-rw-r--r--include/dwarf2.h2
2 files changed, 6 insertions, 0 deletions
diff --git a/include/ChangeLog b/include/ChangeLog
index 6b8053f3f29..cf5a944c1f1 100644
--- a/include/ChangeLog
+++ b/include/ChangeLog
@@ -1,3 +1,7 @@
+2010-06-21 Jakub Jelinek <jakub@redhat.com>
+
+ * dwarf2.h (enum dwarf_type): Add DW_ATE_UTF.
+
2010-06-18 Rafael Espindola <espindola@google.com>
* plugin.h (ld_plugin_add_input_file, ld_plugin_add_input_library):
diff --git a/include/dwarf2.h b/include/dwarf2.h
index 85e7991c69e..03c25812d09 100644
--- a/include/dwarf2.h
+++ b/include/dwarf2.h
@@ -654,6 +654,8 @@ enum dwarf_type
DW_ATE_signed_fixed = 0xd,
DW_ATE_unsigned_fixed = 0xe,
DW_ATE_decimal_float = 0xf,
+ /* DWARF 4. */
+ DW_ATE_UTF = 0x10,
DW_ATE_lo_user = 0x80,
DW_ATE_hi_user = 0xff,