This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Patch committed: Recognize DW_LANG_Go in readelf
- From: Ian Lance Taylor <iant at google dot com>
- To: binutils at sourceware dot org
- Date: Wed, 28 Dec 2011 17:53:41 -0800
- Subject: Patch committed: Recognize DW_LANG_Go in readelf
This patch teaches readelf about DW_LANG_Go. Committed to mainline.
Ian
2011-12-28 Ian Lance Taylor <iant@google.com>
* dwarf.c (read_and_display_attr_value): Handle DW_LANG_Go.
Index: dwarf.c
===================================================================
RCS file: /cvs/src/src/binutils/dwarf.c,v
retrieving revision 1.104
diff -u -p -r1.104 dwarf.c
--- dwarf.c 28 Oct 2011 18:27:46 -0000 1.104
+++ dwarf.c 29 Dec 2011 01:52:28 -0000
@@ -1599,6 +1599,8 @@ read_and_display_attr_value (unsigned lo
case DW_LANG_D: printf ("(D)"); break;
/* DWARF 4 values. */
case DW_LANG_Python: printf ("(Python)"); break;
+ /* DWARF 5 values. */
+ case DW_LANG_Go: printf ("(Go)"); break;
/* MIPS extension. */
case DW_LANG_Mips_Assembler: printf ("(MIPS assembler)"); break;
/* UPC extension. */