diff options
| author | kenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-07-11 14:04:27 +0000 |
|---|---|---|
| committer | kenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-07-11 14:04:27 +0000 |
| commit | a4352c14222772aceee7fbf2fa6e6f46ce7acf5a (patch) | |
| tree | 263c68a4a97c53736e2388408fddc20da3345aac | |
| parent | 2768cacc6f949adaf84f5c0d5a7bce74645a1e44 (diff) | |
| download | ppe42-gcc-a4352c14222772aceee7fbf2fa6e6f46ce7acf5a.tar.gz ppe42-gcc-a4352c14222772aceee7fbf2fa6e6f46ce7acf5a.zip | |
* dwarf2out.c (dwarf2out_init, dwarf2out_finish): Add dummy version
#ifndef DWARF2_DEBUGGING_INFO.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43936 138bc75d-0d04-0410-961f-82ee72b054a4
| -rw-r--r-- | gcc/ChangeLog | 5 | ||||
| -rw-r--r-- | gcc/dwarf2out.c | 24 |
2 files changed, 25 insertions, 4 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index eeedbaf0ce1..15676f1d464 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +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> * simplify-rtx.c (simplify_gen_subreg): Return null for QUEUED rtxes. diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c index f397fef1dbc..09a9e52dfbd 100644 --- a/gcc/dwarf2out.c +++ b/gcc/dwarf2out.c @@ -366,10 +366,8 @@ expand_builtin_dwarf_fp_regnum () /* The target debug structure. */ -struct gcc_debug_hooks dwarf2_debug_hooks = -{ - dwarf2out_init, - dwarf2out_finish +struct gcc_debug_hooks dwarf2_debug_hooks + = {dwarf2out_init, dwarf2out_finish }; /* 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) } } +#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 */ |

