dwarf.c handle new DWARFv5 C11, C++11 and C++14 DW_LANG constants.

binutils/ChangeLog

	* dwarf.c (read_and_display_attr_value): Handle DW_LANG_C11,
	DW_LANG_C_plus_plus_11 and DW_LANG_C_plus_plus_14.
This commit is contained in:
Mark Wielaard 2014-11-24 21:24:25 +01:00
parent 3fe1ce1d5b
commit 8bc106204c
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2014-11-24 Mark Wielaard <mjw@redhat.com>
* dwarf.c (read_and_display_attr_value): Handle DW_LANG_C11,
DW_LANG_C_plus_plus_11 and DW_LANG_C_plus_plus_14.
2014-11-26 Nick Clifton <nickc@redhat.com>
PR binutils/17512

View File

@ -1935,6 +1935,9 @@ read_and_display_attr_value (unsigned long attribute,
case DW_LANG_Python: printf ("(Python)"); break;
/* DWARF 5 values. */
case DW_LANG_Go: printf ("(Go)"); break;
case DW_LANG_C_plus_plus_11: printf ("(C++11)"); break;
case DW_LANG_C11: printf ("(ANSI C11)"); break;
case DW_LANG_C_plus_plus_14: printf ("(C++14)"); break;
/* MIPS extension. */
case DW_LANG_Mips_Assembler: printf ("(MIPS assembler)"); break;
/* UPC extension. */