configure.in (HAVE_AS_DWARF2_DEBUG_LINE): Enable .file/.loc check for powerpc*-*-*.
[gcc.git] / gcc / config / rs6000 / rs6000.c
index 30a99bba3441312702a5090c52bd61d7db6ab781..b980122d2a23023283001fbc104724fcd6188e4d 100644 (file)
@@ -7542,7 +7542,7 @@ rs6000_unique_section (decl, reloc)
         + (DECL_INITIAL (decl) == 0
            || DECL_INITIAL (decl) == error_mark_node) ? 4 : 0);
 
-  name   = IDENTIFIER_POINTER (DECL_ASSEMBLER_NAME (decl));
+  STRIP_NAME_ENCODING (name, IDENTIFIER_POINTER (DECL_ASSEMBLER_NAME (decl)));
   prefix = prefixes[sec][DECL_ONE_ONLY (decl)];
   len    = strlen (name) + strlen (prefix);
   string = alloca (len + 1);