* Fix C6x 24-bit unwinding opcodes
@ 2011-10-03 15:52 Paul Brook
2011-10-21 22:43 ` Bernd Schmidt
0 siblings, 1 reply; 2+ messages in thread
From: Paul Brook @ 2011-10-03 15:52 UTC (permalink / raw)
To: gcc-patches, Bernd Schmidt
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.
Paul
2011-10-03 Paul Brook <paul@codesourcery.com>
libgcc/
* unwind-arm-common.inc: Handle ID3/4 unwinding data.
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;
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Fix C6x 24-bit unwinding opcodes
2011-10-03 15:52 Fix C6x 24-bit unwinding opcodes Paul Brook
@ 2011-10-21 22:43 ` Bernd Schmidt
0 siblings, 0 replies; 2+ messages in thread
From: Bernd Schmidt @ 2011-10-21 22:43 UTC (permalink / raw)
To: Paul Brook; +Cc: gcc-patches
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-10-21 21:02 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-10-03 15:52 Fix C6x 24-bit unwinding opcodes Paul Brook
2011-10-21 22:43 ` Bernd Schmidt
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).