From: Andrew Haley <andrew29@littlepinkcloud.invalid>
Subject: Re: More Ganssle on Ada
Date: Thu, 24 Jan 2013 06:18:08 -0600
Date: 2013-01-24T06:18:08-06:00 [thread overview]
Message-ID: <tdKdnWJgaIwdu5zMnZ2dnUVZ_rqdnZ2d@supernews.com> (raw)
In-Reply-To: 8c72fc78-46f3-4865-81c5-433dd6d61633@googlegroups.com
Lucretia <laguest9000@googlemail.com> wrote:
> Ok, let's sort this once and for all.
>
> Building an ARM Linux compiler is doable now. The only problem with
> it is that it doesn't use the unwind-arm.[ch] files in
> gcc/config/arm but does implement exceptions with setjmp/longjmp.
>
> I ave tried to sort this out, it requires someone with more
> knowledge of the RTS than me. Basically, what needs to be done to
> sort this out is to move the current DWARF EH code into a new
> package, and create an ARM equivalent, this is because the standard
> unwind and the unwind-arm stuff is very different and the data would
> be wrong on the Ada side.
>
> I submitted a patch to the GCC ML which does the first part and kind
> of works, but fails in the end. The response from AdaCore was
> something along the lines "you need to construct and ARM specific
> exception object," thanks, very helpful.
I remember offering to help someone do this, but it all went quiet.
It's not terribly difficult: a simple worked example of the changes
needed is in
http://gcc.gnu.org/viewcvs/trunk/libjava/exception.cc?view=markup
... just look for ifdef __ARM_EABI_UNWINDER__
Andrew.
next prev parent reply other threads:[~2013-01-24 12:18 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-01-17 20:20 More Ganssle on Ada mjsilva
2013-01-17 22:32 ` Jeffrey Carter
2013-01-18 4:56 ` Randy Brukardt
2013-01-18 6:23 ` J-P. Rosen
2013-01-18 15:08 ` Patrick
2013-01-18 23:46 ` Brian Drummond
2013-01-19 11:27 ` Dirk Craeynest
2013-01-19 14:19 ` Robert A Duff
2013-01-21 12:32 ` Georg Bauhaus
2013-01-21 13:34 ` Dmitry A. Kazakov
2013-01-21 14:34 ` Patrick
2013-01-21 15:12 ` Britt
2013-01-21 15:52 ` Lucretia
2013-01-24 12:18 ` Andrew Haley [this message]
2013-01-24 15:10 ` Lucretia
2013-01-21 22:26 ` Georg Bauhaus
2013-01-19 21:17 ` sbelmont700
2013-01-19 23:29 ` Patrick
2013-01-20 9:05 ` Micronian Coder
2013-01-21 20:05 ` Marc C
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox