]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
bfd/Dwarf2: gas doesn't mangle names
authorJan Beulich <jbeulich@suse.com>
Tue, 29 Mar 2022 06:19:14 +0000 (08:19 +0200)
committerJan Beulich <jbeulich@suse.com>
Tue, 29 Mar 2022 06:19:14 +0000 (08:19 +0200)
Include the language identifier emitted by gas in the set of ones where
no mangled names are expected. Even if there could be "hand-mangled"
names, gas doesn't emit DW_AT_linkage_name in the first place.

bfd/dwarf2.c

index 8cd0ce9d4252e2d97206c39a5724a4ba827fd8d3..9aa4e955a5eaa79e41a0a53135f236bae4b4b901 100644 (file)
@@ -1441,6 +1441,7 @@ non_mangled (int lang)
     case DW_LANG_PLI:
     case DW_LANG_UPC:
     case DW_LANG_C11:
+    case DW_LANG_Mips_Assembler:
       return true;
     }
 }