From 5b9d23c67a826f866199a297cabcc4aa1ca38e69 Mon Sep 17 00:00:00 2001 From: Jan Beulich Date: Thu, 16 Dec 2004 08:57:23 +0000 Subject: [PATCH] gas/ 2004-12-15 Jan Beulich * dw2gencfi.c (dot.cfi.startproc): Clear cur_cfa_offset so '.cfi_startproc simple' doesn't inherit the old value. --- gas/ChangeLog | 5 +++++ gas/dw2gencfi.c | 1 + 2 files changed, 6 insertions(+) diff --git a/gas/ChangeLog b/gas/ChangeLog index 851e4d43ed6..fe30f9d9277 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +2004-12-15 Jan Beulich + + * dw2gencfi.c (dot.cfi.startproc): Clear cur_cfa_offset so + '.cfi_startproc simple' doesn't inherit the old value. + 2004-12-15 Jan Beulich * dw2gencfi.c (output_cfi_insn): Adjust DW_CFA_def_cfa_sf generation diff --git a/gas/dw2gencfi.c b/gas/dw2gencfi.c index 687815cf60e..c77efbf9a36 100644 --- a/gas/dw2gencfi.c +++ b/gas/dw2gencfi.c @@ -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 (); }