From: "Jan Beulich" <JBeulich@novell.com>
To: <rth@redhat.com>
Cc: <binutils@sources.redhat.com>
Subject: Re: .cfi_startproc simple
Date: Wed, 15 Dec 2004 16:07:00 -0000 [thread overview]
Message-ID: <s1c06118.036@emea1-mh.id2.novell.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 888 bytes --]
>>> 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 #2: binutils-mainline-cfi-clear-cur_cfa_offset.patch --]
[-- Type: application/octet-stream, Size: 585 bytes --]
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 reply other threads:[~2004-12-15 16:07 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-12-15 16:07 Jan Beulich [this message]
[not found] <s1c06118.035@emea1-mh.id2.novell.com>
2004-12-15 17:35 ` Richard Henderson
-- strict thread matches above, loose matches on Subject: below --
2004-12-14 14:56 Jan Beulich
2004-12-14 23:06 ` Richard Henderson
2004-11-29 10:36 Jan Beulich
2004-11-29 18:55 ` Richard Henderson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=s1c06118.036@emea1-mh.id2.novell.com \
--to=jbeulich@novell.com \
--cc=binutils@sources.redhat.com \
--cc=rth@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).