summaryrefslogtreecommitdiff
path: root/binutils/patches/168_readelf_go.patch
diff options
context:
space:
mode:
Diffstat (limited to 'binutils/patches/168_readelf_go.patch')
-rw-r--r--binutils/patches/168_readelf_go.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/binutils/patches/168_readelf_go.patch b/binutils/patches/168_readelf_go.patch
new file mode 100644
index 0000000..d87b3b8
--- /dev/null
+++ b/binutils/patches/168_readelf_go.patch
@@ -0,0 +1,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. */