.cfi_startproc simple
Jan Beulich
JBeulich@novell.com
Wed Dec 15 16:07:00 GMT 2004
>>> 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 ();
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: binutils-mainline-cfi-clear-cur_cfa_offset.patch
Type: application/octet-stream
Size: 585 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20041215/9416b950/attachment.obj>
More information about the Binutils
mailing list