From: Nathan Froyd <froydnj@codesourcery.com>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH 0/3] linux-user: add ppc signal handling, v2
Date: Tue, 12 May 2009 19:15:44 -0700 [thread overview]
Message-ID: <20090513021544.GW23911@codesourcery.com> (raw)
In-Reply-To: <Pine.LNX.4.64.0905130305530.11267@linmac.oyster.ru>
On Wed, May 13, 2009 at 03:13:10AM +0400, malc wrote:
> On Tue, 12 May 2009, Nathan Froyd wrote:
> > This patch series adds signal handling support for 32-bit PPC linux-user
> > emulation. It requires a bit of shuffling of target-ppc code to ensure
> > that we know what the capabilities of our current CPU are so we know
> > which registers to save.
>
> This one works as is, however the series introduces 3 instances of
> trailing whitespace (git complains) and few new tab characters (my
> eyes do).
Sorry about that; fixed in a reply to part 2/3 of the patch series.
> Plus while building it (this time with gcc 3.4.6) i noticed
> that the warnings around __put_user are gone, but lines 2746 and 2747
> of op_helper.c produce (both originate from d9430add, which is also
> yours):
>
> warning: array subscript is above array bounds
>
> Boils down to:
>
> #define VSHIFT(suffix, leftp) \
> void helper_vs##suffix (ppc_avr_t *r, ppc_avr_t *a, ppc_avr_t *b) \
> { \
> int shift = b->u8[LO_IDX*0x15] & 0x7; \
>
> I'd venture a guess that '*15' instead was meant to be there.
Indeed. I will fix this in a separate patch unless you beat me to
it. :) Thanks for the heads-up.
-Nathan
next prev parent reply other threads:[~2009-05-13 2:15 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-05-12 19:26 [Qemu-devel] [PATCH 0/3] linux-user: add ppc signal handling, v2 Nathan Froyd
2009-05-12 19:26 ` [Qemu-devel] [PATCH 1/3] target-ppc: expose cpu capability flags Nathan Froyd
2009-05-12 19:26 ` [Qemu-devel] [PATCH 2/3] linux-user: ppc signal handling Nathan Froyd
2009-05-13 2:13 ` Nathan Froyd
2009-05-12 19:26 ` [Qemu-devel] [PATCH 3/3] support ELF_HWCAP for PPPC Nathan Froyd
2009-05-12 23:13 ` [Qemu-devel] [PATCH 0/3] linux-user: add ppc signal handling, v2 malc
2009-05-13 2:15 ` Nathan Froyd [this message]
2009-05-13 11:27 ` malc
2009-05-13 11:37 ` Laurent Desnogues
2009-05-13 11:52 ` malc
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=20090513021544.GW23911@codesourcery.com \
--to=froydnj@codesourcery.com \
--cc=qemu-devel@nongnu.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.