From b82cf772defa28c047074abd030510ea6bf97362 Mon Sep 17 00:00:00 2001 From: mrg Date: Thu, 19 Jul 2001 23:41:12 +0000 Subject: [PATCH] don't do dwarf2 eh if not DWARF2_UNWIND_INFO --- gnu/dist/toolchain/gcc/config/mips/mips.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gnu/dist/toolchain/gcc/config/mips/mips.c b/gnu/dist/toolchain/gcc/config/mips/mips.c index b9fd5a5dc69c..6069109604bb 100644 --- a/gnu/dist/toolchain/gcc/config/mips/mips.c +++ b/gnu/dist/toolchain/gcc/config/mips/mips.c @@ -6278,8 +6278,10 @@ function_prologue (file, size) fprintf (file, "\t.cprestore %ld\n", current_frame_info.args_size); } +#ifdef DWARF2_UNWIND_INFO if (dwarf2out_do_frame ()) dwarf2out_def_cfa ("", STACK_POINTER_REGNUM, tsize); +#endif } }