aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2010-06-21 18:29:51 +0200
committerJakub Jelinek <jakub@gcc.gnu.org>2010-06-21 18:29:51 +0200
commitf0057424da31008bc4e1f97802160db6ff5a5e34 (patch)
treecc820f508c3e77bd486eae7090bdd9a97c671d69 /include
parent2e1e8c5d7a0816021f450fc158441452993e9477 (diff)
downloadgcc-f0057424da31008bc4e1f97802160db6ff5a5e34.zip
gcc-f0057424da31008bc4e1f97802160db6ff5a5e34.tar.gz
gcc-f0057424da31008bc4e1f97802160db6ff5a5e34.tar.bz2
dwarf2.h (enum dwarf_type): Add DW_ATE_UTF.
* 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. From-SVN: r161095
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 6b8053f..cf5a944c 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 85e7991..03c2581 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,