dwarf.c handle new DWARFv5 C11, C++11 and C++14 DW_LANG constants.
authorMark Wielaard <mjw@redhat.com>
Mon, 24 Nov 2014 20:24:25 +0000 (21:24 +0100)
committerMark Wielaard <mjw@redhat.com>
Wed, 26 Nov 2014 23:35:18 +0000 (00:35 +0100)
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.

binutils/ChangeLog
binutils/dwarf.c

index 542d7888735b15a786d67b6c3bf17d66d3cb3bee..131925a31920f601488cef28d5a8a2fe214d474c 100644 (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
index 622fe913d419fe43a4d25ddf2ba28d921a8dfec4..e2bac1f5f804245649bbf765c714fc1aced06a17 100644 (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.  */