don't do dwarf2 eh if not DWARF2_UNWIND_INFO
This commit is contained in:
parent
b3edeb5745
commit
b82cf772de
2
gnu/dist/toolchain/gcc/config/mips/mips.c
vendored
2
gnu/dist/toolchain/gcc/config/mips/mips.c
vendored
@ -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
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user