This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
>>> Richard Henderson <rth@redhat.com> 15.12.04 00:05:54 >>>
>On Tue, Dec 14, 2004 at 03:56:19PM +0100, Jan Beulich wrote:
>> Now, any suggestion on the approach to fix this? Just zero out the
two
>> fields (register and offset)?
>
>Yes. "simple" means a completely blank slate. No target trickery.
Built and tested on i686-pc-linux-gnu.
Jan
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.
---
/home/jbeulich/src/binutils/mainline/2004-12-03.13.35/gas/dw2gencfi.c 2004-10-08
08:52:54.000000000 +0200
+++ 2004-12-03.13.35/gas/dw2gencfi.c 2004-12-15 16:59:42.858295384
+0100
@@ -607,6 +607,7 @@ dot_cfi_startproc (int ignored ATTRIBUTE
}
demand_empty_rest_of_line ();
+ cur_cfa_offset = 0;
if (!simple)
tc_cfi_frame_initial_instructions ();
}
Attachment:
binutils-mainline-cfi-clear-cur_cfa_offset.patch
Description: Binary data
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |