This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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.  */

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]