public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: Bernd Schmidt <bernds_cb1@t-online.de>
To: Paul Brook <paul@codesourcery.com>
Cc: gcc-patches@gcc.gnu.org
Subject: Re: Fix C6x 24-bit unwinding opcodes
Date: Fri, 21 Oct 2011 22:43:00 -0000	[thread overview]
Message-ID: <4EA1DDD4.8020608@t-online.de> (raw)
In-Reply-To: <201110031652.04721.paul@codesourcery.com>

On 10/03/11 17:52, Paul Brook wrote:
> The C6XABI defined persoality routines ID 3 and 4 use a single 24-bit block 
> word of unwinding data.  Patch below makes sure this is preserved, rather than 
> treating it as a set of unwinding opcode bytes.
> 
> I seem to have lost this bit of code when I merged the ARM and c6x 
> implementations.
> 
> Applied to svn trunk.

Actually, it wasn't. I've corrected that now.

> Index: libgcc/unwind-arm-common.inc
> ===================================================================
> --- libgcc/unwind-arm-common.inc	(revision 179178)
> +++ libgcc/unwind-arm-common.inc	(working copy)
> @@ -583,7 +583,7 @@ __gnu_unwind_pr_common (_Unwind_State st
>        uws.words_left = 0;
>        uws.bytes_left = 3;
>      }
> -  else
> +  else if (id < 3)
>      {
>        uws.words_left = (uws.data >> 16) & 0xff;
>        uws.data <<= 16;
> 


Bernd

      reply	other threads:[~2011-10-21 21:02 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-03 15:52 Paul Brook
2011-10-21 22:43 ` Bernd Schmidt [this message]

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=4EA1DDD4.8020608@t-online.de \
    --to=bernds_cb1@t-online.de \
    --cc=gcc-patches@gcc.gnu.org \
    --cc=paul@codesourcery.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).