dwarf2asm.c (dw2_output_indirect_constant_1): Set DECL_ASSEMBLER_NAME to prevent mangling with lto frontend.

* dwarf2asm.c (dw2_output_indirect_constant_1): Set DECL_ASSEMBLER_NAME
	to prevent mangling with lto frontend.

From-SVN: r167460
This commit is contained in:
Jan Hubicka 2010-12-04 23:01:32 +01:00 committed by Jan Hubicka
parent 40e584a1b7
commit 9937ab0287
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2010-12-03 Jan Hubicka <jh@suse.cz>
* dwarf2asm.c (dw2_output_indirect_constant_1): Set DECL_ASSEMBLER_NAME
to prevent mangling with lto frontend.
2010-12-03 Jan Hubicka <jh@suse.cz>
* Makefile.in (LTO_STREAMER_H): Add GCOV_IO_H.

View File

@ -905,6 +905,7 @@ dw2_output_indirect_constant_1 (splay_tree_node node,
id = (tree) node->value;
decl = build_decl (UNKNOWN_LOCATION, VAR_DECL, id, ptr_type_node);
SET_DECL_ASSEMBLER_NAME (decl, id);
DECL_ARTIFICIAL (decl) = 1;
DECL_IGNORED_P (decl) = 1;
DECL_INITIAL (decl) = decl;