aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@novell.com>2004-12-16 08:57:23 +0000
committerJan Beulich <jbeulich@novell.com>2004-12-16 08:57:23 +0000
commit5b9d23c67a826f866199a297cabcc4aa1ca38e69 (patch)
tree87a0610332af40b1734945f9ce242d5742813fa3 /gas
parentdcb45a0623c00ed8928d92efa891e623fc41dfbe (diff)
downloadgdb-5b9d23c67a826f866199a297cabcc4aa1ca38e69.zip
gdb-5b9d23c67a826f866199a297cabcc4aa1ca38e69.tar.gz
gdb-5b9d23c67a826f866199a297cabcc4aa1ca38e69.tar.bz2
gas/
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.
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog5
-rw-r--r--gas/dw2gencfi.c1
2 files changed, 6 insertions, 0 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 851e4d4..fe30f9d 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -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
diff --git a/gas/dw2gencfi.c b/gas/dw2gencfi.c
index 687815c..c77efbf 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 ();
}