From: Mark Wielaard Date: Thu, 18 Dec 2014 02:35:53 +0000 (+1030) Subject: Display DW_LANG_C11 as (C11). X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=24b8f25661e98298df988fe2bcb11420a2dd8f10;p=thirdparty%2Fbinutils-gdb.git Display DW_LANG_C11 as (C11). * dwarf.c (read_and_display_attr_value): Change display name of DW_LANG_C11 from (ANSI C11) to (C11). --- diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 0b6e1fa513b..672a171977c 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,6 +1,10 @@ 2015-02-11 Alan Modra Apply from master. + 2014-12-18 Mark Wielaard + * dwarf.c (read_and_display_attr_value): Change display name of + DW_LANG_C11 from (ANSI C11) to (C11). + 2014-12-11 Alan Modra * configure.ac: Check for long long and sizes of long long and long. * elfcomm.h (HOST_WIDEST_INT): Test HAVE_LONG_LONG in place of diff --git a/binutils/dwarf.c b/binutils/dwarf.c index 97d1302088c..dde9066c059 100644 --- a/binutils/dwarf.c +++ b/binutils/dwarf.c @@ -1888,7 +1888,7 @@ read_and_display_attr_value (unsigned long attribute, /* 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_C11: printf ("(C11)"); break; case DW_LANG_C_plus_plus_14: printf ("(C++14)"); break; /* MIPS extension. */ case DW_LANG_Mips_Assembler: printf ("(MIPS assembler)"); break;