Commit bc808e0b by Jason Merrill Committed by Jason Merrill

dwarf2out.c (add_name_and_src_coords_attributes): Only add…

dwarf2out.c (add_name_and_src_coords_attributes): Only add DW_AT_MIPS_linkage_name for TREE_PUBLIC decls.

        * dwarf2out.c (add_name_and_src_coords_attributes): Only add
        DW_AT_MIPS_linkage_name for TREE_PUBLIC decls.
        (ASM_OUTPUT_DWARF_ADDR_CONST): Don't output trailing newline.

From-SVN: r32506
parent f132af85
2000-03-13 Jason Merrill <jason@casey.cygnus.com>
* dwarf2out.c (add_name_and_src_coords_attributes): Only add
DW_AT_MIPS_linkage_name for TREE_PUBLIC decls.
(ASM_OUTPUT_DWARF_ADDR_CONST): Don't output trailing newline.
2000-03-13 Richard Earnshaw <rearnsha@arm.com> 2000-03-13 Richard Earnshaw <rearnsha@arm.com>
* stor-layout.c (new_record_layout_info): Fix typo inside ifdef * stor-layout.c (new_record_layout_info): Fix typo inside ifdef
......
...@@ -365,7 +365,6 @@ static void dwarf2out_frame_debug_expr PARAMS ((rtx, char *)); ...@@ -365,7 +365,6 @@ static void dwarf2out_frame_debug_expr PARAMS ((rtx, char *));
do { \ do { \
fprintf ((FILE), "\t%s\t", UNALIGNED_WORD_ASM_OP); \ fprintf ((FILE), "\t%s\t", UNALIGNED_WORD_ASM_OP); \
output_addr_const ((FILE), (RTX)); \ output_addr_const ((FILE), (RTX)); \
fputc ('\n', (FILE)); \
} while (0) } while (0)
#endif #endif
...@@ -7464,6 +7463,7 @@ add_name_and_src_coords_attributes (die, decl) ...@@ -7464,6 +7463,7 @@ add_name_and_src_coords_attributes (die, decl)
add_src_coords_attributes (die, decl); add_src_coords_attributes (die, decl);
if ((TREE_CODE (decl) == FUNCTION_DECL || TREE_CODE (decl) == VAR_DECL) if ((TREE_CODE (decl) == FUNCTION_DECL || TREE_CODE (decl) == VAR_DECL)
&& TREE_PUBLIC (decl)
&& DECL_ASSEMBLER_NAME (decl) != DECL_NAME (decl)) && DECL_ASSEMBLER_NAME (decl) != DECL_NAME (decl))
add_AT_string (die, DW_AT_MIPS_linkage_name, add_AT_string (die, DW_AT_MIPS_linkage_name,
IDENTIFIER_POINTER (DECL_ASSEMBLER_NAME (decl))); IDENTIFIER_POINTER (DECL_ASSEMBLER_NAME (decl)));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment