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 542d788..131925a 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 622fe91..e2bac1f 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.  */