This is the mail archive of the
binutils-cvs@sourceware.org
mailing list for the binutils project.
[binutils-gdb/binutils-2_25-branch] Display DW_LANG_C11 as (C11).
- From: Alan Modra <amodra at sourceware dot org>
- To: bfd-cvs at sourceware dot org
- Date: 11 Feb 2015 12:49:34 -0000
- Subject: [binutils-gdb/binutils-2_25-branch] Display DW_LANG_C11 as (C11).
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=6e7e69e72dc1c53c8d5a8794c845026c48ff343a
commit 6e7e69e72dc1c53c8d5a8794c845026c48ff343a
Author: Mark Wielaard <mjw@redhat.com>
Date: Thu Dec 18 13:05:53 2014 +1030
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:
---
binutils/ChangeLog | 4 ++++
binutils/dwarf.c | 2 +-
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/binutils/ChangeLog b/binutils/ChangeLog
index 0b6e1fa..672a171 100644
--- a/binutils/ChangeLog
+++ b/binutils/ChangeLog
@@ -1,6 +1,10 @@
2015-02-11 Alan Modra <amodra@gmail.com>
Apply from master.
+ 2014-12-18 Mark Wielaard <mjw@redhat.com>
+ * dwarf.c (read_and_display_attr_value): Change display name of
+ DW_LANG_C11 from (ANSI C11) to (C11).
+
2014-12-11 Alan Modra <amodra@gmail.com>
* 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 97d1302..dde9066 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;