Commit c8383050 by Richard Kenner Committed by Richard Kenner

dwarf2out.c (dwarf2out_init, [...]): Add dummy version #ifndef DWARF2_DEBUGGING_INFO.

	* dwarf2out.c (dwarf2out_init, dwarf2out_finish): Add dummy version
	#ifndef DWARF2_DEBUGGING_INFO.

From-SVN: r43936
parent 219670f1
Wed Jul 11 10:07:18 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
* dwarf2out.c (dwarf2out_init, dwarf2out_finish): Add dummy version
#ifndef DWARF2_DEBUGGING_INFO.
2001-07-11 Richard Sandiford <rsandifo@redhat.com> 2001-07-11 Richard Sandiford <rsandifo@redhat.com>
* simplify-rtx.c (simplify_gen_subreg): Return null for QUEUED rtxes. * simplify-rtx.c (simplify_gen_subreg): Return null for QUEUED rtxes.
......
...@@ -366,10 +366,8 @@ expand_builtin_dwarf_fp_regnum () ...@@ -366,10 +366,8 @@ expand_builtin_dwarf_fp_regnum ()
/* The target debug structure. */ /* The target debug structure. */
struct gcc_debug_hooks dwarf2_debug_hooks = struct gcc_debug_hooks dwarf2_debug_hooks
{ = {dwarf2out_init, dwarf2out_finish
dwarf2out_init,
dwarf2out_finish
}; };
/* Return a pointer to a copy of the section string name S with all /* Return a pointer to a copy of the section string name S with all
...@@ -11589,4 +11587,22 @@ dwarf2out_finish (asm_out_file, input_filename) ...@@ -11589,4 +11587,22 @@ dwarf2out_finish (asm_out_file, input_filename)
} }
} }
#else /* DWARF2_DEBUGGING_INFO
/* Use dummy versions of init and finish routines. */
static void
dwarf2out_init (asm_out_file, main_input_filename)
register FILE *asm_out_file ATTRIBUTE_UNUSED;
register const char *main_input_filename ATTRIBUTE_UNUSED;
{
}
static void
dwarf2out_finish (asm_out_file, input_filename)
register FILE *asm_out_file ATTRIBUTE_UNUSED;
register const char *input_filename ATTRIBUTE_UNUSED;
{
}
#endif /* DWARF2_DEBUGGING_INFO */ #endif /* DWARF2_DEBUGGING_INFO */
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