This is the mail archive of the
binutils-cvs@sourceware.org
mailing list for the binutils project.
[binutils-gdb/binutils-2_25-branch] Recognize new DWARFv5 C11, C++11 and C++14 DW_LANG constants.
- From: Alan Modra <amodra at sourceware dot org>
- To: bfd-cvs at sourceware dot org
- Date: 11 Feb 2015 12:46:37 -0000
- Subject: [binutils-gdb/binutils-2_25-branch] Recognize new DWARFv5 C11, C++11 and C++14 DW_LANG constants.
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=796792de049d1f5f3a4b4497577b0e0605f33cd6
commit 796792de049d1f5f3a4b4497577b0e0605f33cd6
Author: Mark Wielaard <mjw@redhat.com>
Date: Mon Nov 24 20:51:06 2014 +0100
Recognize new DWARFv5 C11, C++11 and C++14 DW_LANG constants.
include/ChangeLog
* dwarf2.h: Add DW_LANG_C_plus_plus_11, DW_LANG_C11 and
DW_LANG_C_plus_plus_14.
Diff:
---
include/ChangeLog | 7 +++++++
include/dwarf2.h | 4 ++++
2 files changed, 11 insertions(+)
diff --git a/include/ChangeLog b/include/ChangeLog
index 43e06f7..72fbd8b 100644
--- a/include/ChangeLog
+++ b/include/ChangeLog
@@ -1,3 +1,10 @@
+2015-02-11 Alan Modra <amodra@gmail.com>
+
+ Apply from master.
+ 2014-11-24 Mark Wielaard <mjw@redhat.com>
+ * dwarf2.h: Add DW_LANG_C_plus_plus_11, DW_LANG_C11 and
+ DW_LANG_C_plus_plus_14.
+
2014-11-18 Igor Zamyatin <igor.zamyatin@intel.com>
* bfdlink.h (struct bfd_link_info): Add bndplt.
diff --git a/include/dwarf2.h b/include/dwarf2.h
index 120e2c1..ca440dd 100644
--- a/include/dwarf2.h
+++ b/include/dwarf2.h
@@ -309,6 +309,10 @@ enum dwarf_source_language
/* DWARF 5. */
DW_LANG_Go = 0x0016,
+ DW_LANG_C_plus_plus_11 = 0x001a, /* dwarf5.20141029.pdf DRAFT */
+ DW_LANG_C11 = 0x001d,
+ DW_LANG_C_plus_plus_14 = 0x0021,
+
DW_LANG_lo_user = 0x8000, /* Implementation-defined range start. */
DW_LANG_hi_user = 0xffff, /* Implementation-defined range start. */