summaryrefslogtreecommitdiff
path: root/binutils/patches/168_readelf_go.patch
blob: d87b3b831b194fb1c334b65d92ac0cbcd2bdd272 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# DP: Recognize DW_LANG_Go in readelf (backport from trunk)

--- a/binutils/dwarf.c
+++ b/binutils/dwarf.c
@@ -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.  */