Re: Porting ZCX (not SJLJ) for GNAT ARM EABI

2010-09-27 Thread Richard Henderson
On 09/27/2010 03:47 AM, Luke A. Guest wrote: > I can't see any mention of unwind in the the t-linux-eabi file, I'm > probably missing something I just don't unerstand here :D Because it's in config/arm/t-bpabi. Do be clear on whether you're working on arm-linux-eabi, i.e. with the ARM EABI unwind

Re: Porting ZCX (not SJLJ) for GNAT ARM EABI

2010-09-27 Thread Olivier Hainque
[resending a reply sent to a private copy] From: Olivier Hainque To: "Luke A. Guest" Subject: Re: Porting ZCX (not SJLJ) for GNAT ARM EABI Date: Mon, 27 Sep 2010 15:18:59 +0200 Luke A. Guest wrote: > > A quick glance suggests that your arm-linux port might be using the >

Re: Porting ZCX (not SJLJ) for GNAT ARM EABI

2010-09-27 Thread Luke A. Guest
On Mon, 2010-09-27 at 12:33 +0200, Olivier Hainque wrote: > Luke A. Guest wrote: > > Well, I'm reading as much as I can regarding this, but finding it hard > > to work some things out. > > That's a pretty complex and very precise machinery overall. You're not wrong. > > I've been reading throug

Re: Porting ZCX (not SJLJ) for GNAT ARM EABI

2010-09-27 Thread Andrew Haley
On 09/27/2010 10:36 AM, Luke A. Guest wrote: > On Mon, 2010-09-27 at 11:12 +0200, Olivier Hainque wrote: >> Hello Luke, >> >> Luke A. Guest wrote: >>> I'm having a look into getting DWARF2 exceptions (ZCX) working on ARM. >> >> Thanks :-) > > Well, I'm reading as much as I can regarding this, but

Re: Porting ZCX (not SJLJ) for GNAT ARM EABI

2010-09-27 Thread Olivier Hainque
Luke A. Guest wrote: > Well, I'm reading as much as I can regarding this, but finding it hard > to work some things out. That's a pretty complex and very precise machinery overall. > I've been reading through: > http://gcc.gnu.org/ml/gcc/2004-03/msg01779.html and trying some example > code in C+

Re: Porting ZCX (not SJLJ) for GNAT ARM EABI

2010-09-27 Thread Luke A. Guest
On Mon, 2010-09-27 at 11:12 +0200, Olivier Hainque wrote: > Hello Luke, > > Luke A. Guest wrote: > > I'm having a look into getting DWARF2 exceptions (ZCX) working on ARM. > > Thanks :-) Well, I'm reading as much as I can regarding this, but finding it hard to work some things out. I've been re

Re: Porting ZCX (not SJLJ) for GNAT ARM EABI

2010-09-27 Thread Olivier Hainque
Hello Luke, Luke A. Guest wrote: > I'm having a look into getting DWARF2 exceptions (ZCX) working on ARM. Thanks :-) > Any pointers would be gratefully received. I'm fairly sure I know where > to start. A few general points, jic. The first thing will be to adjust your target system.ads to

Re: Porting ZCX (not SJLJ) for GNAT ARM EABI

2010-09-24 Thread Luke A. Guest
On Fri, 2010-09-24 at 15:39 -0700, Andrew Pinski wrote: > > (http://gcc.gnu.org/gcc-4.4/changes.html bit-fields). > > > That ABI change only structs which are marked as being packed. If you > have some of those in your code, you need to understand that before > 4.4, it was incorrectly working.

Re: Porting ZCX (not SJLJ) for GNAT ARM EABI

2010-09-24 Thread Andrew Pinski
> (http://gcc.gnu.org/gcc-4.4/changes.html bit-fields). That ABI change only structs which are marked as being packed. If you have some of those in your code, you need to understand that before 4.4, it was incorrectly working. -- Pinski

Porting ZCX (not SJLJ) for GNAT ARM EABI

2010-09-24 Thread Luke A. Guest
Hi, I'm having a look into getting DWARF2 exceptions (ZCX) working on ARM. I just wondered if anyone has done this yet or is working on it? My target will be N900 Maemo, I'll have to use an older GCC due to the fact that the ABI changed at v4.4 (http://gcc.gnu.org/gcc-4.4/changes.html bit-fields)