2004-12-15 Jan Beulich  <jbeulich@novell.com>

	* dw2gencfi.c (dot.cfi.startproc): Clear cur_cfa_offset so
	'.cfi_startproc simple' doesn't inherit the old value.
This commit is contained in:
Jan Beulich 2004-12-16 08:57:23 +00:00
parent dcb45a0623
commit 5b9d23c67a
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2004-12-15 Jan Beulich <jbeulich@novell.com>
* dw2gencfi.c (dot.cfi.startproc): Clear cur_cfa_offset so
'.cfi_startproc simple' doesn't inherit the old value.
2004-12-15 Jan Beulich <jbeulich@novell.com>
* dw2gencfi.c (output_cfi_insn): Adjust DW_CFA_def_cfa_sf generation

View File

@ -607,6 +607,7 @@ dot_cfi_startproc (int ignored ATTRIBUTE_UNUSED)
}
demand_empty_rest_of_line ();
cur_cfa_offset = 0;
if (!simple)
tc_cfi_frame_initial_instructions ();
}