comp.lang.ada
 help / color / mirror / Atom feed
From: Simon Clubley <clubley@remove_me.eisner.decus.org-Earth.UFP>
Subject: Re: How do I disable elaboration code on this
Date: Tue, 12 Apr 2011 17:07:26 +0000 (UTC)
Date: 2011-04-12T17:07:26+00:00	[thread overview]
Message-ID: <io20se$gls$1@dont-email.me> (raw)
In-Reply-To: 0233954c-cf4e-458c-a0c0-2969539855f6@l39g2000yqh.googlegroups.com

On 2011-04-11, Lucretia <Lucretia9000@yahoo.co.uk> wrote:
>
> Renamed it, sorry:
>
> https://github.com/Lucretia/xpressada

I've just had a quick look at the code.

While I understand your focus on setting up the Ada vector routines in the
vector table, I wonder if it would be wise to also look at the requirement
to store the value (at 16#00000000#) to be used for the initial stack
pointer in case that shows up any additional issues with elaboration (or
anything else).

One obvious model would be to have a record with a initial 32 bit address
variable followed by a array of Cb as you have now.

The interesting question however, is how are you going to populate that
stack pointer variable ? Are you planning to use a hardcoded constant
within the Ada code or are you planning to define a symbol within the
linker script and import that into the Ada code ?

If it's the latter, I wonder if the compiler will generate any additional
unexpected elaboration code or if the generated code will just reference
the linker symbol directly ?

Simon.

-- 
Simon Clubley, clubley@remove_me.eisner.decus.org-Earth.UFP
Microsoft: Bringing you 1980s technology to a 21st century world



  parent reply	other threads:[~2011-04-12 17:07 UTC|newest]

Thread overview: 38+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-09 13:58 How do I disable elaboration code on this Lucretia
2011-04-09 16:57 ` Jeffrey Carter
2011-04-09 17:01   ` Simon Wright
2011-04-09 17:44     ` Ludovic Brenta
2011-04-09 19:19       ` Simon Wright
2011-04-09 19:32         ` Jeffrey Carter
2011-04-10  9:06           ` Lucretia
2011-04-10  9:31             ` Simon Wright
2011-04-09 19:35         ` Ludovic Brenta
2011-04-09 22:05           ` Simon Wright
2011-04-10  5:39             ` Simon Wright
2011-04-10 17:20   ` Lucretia
2011-04-10 20:12     ` Jeffrey Carter
2011-04-10 20:47     ` Georg Bauhaus
2011-04-10 21:19       ` Lucretia
2011-04-11  5:08         ` Lucretia
2011-04-11  6:28           ` Simon Wright
2011-04-11  8:54             ` Lucretia
2011-04-11 10:10               ` Simon Wright
2011-04-11 11:59                 ` Simon Clubley
2011-04-11 18:30                   ` Simon Wright
2011-04-11 19:12                     ` Simon Wright
2011-04-11 19:50                       ` Simon Wright
2011-04-11 21:40                       ` Lucretia
2011-04-11 23:12                         ` Lucretia
2011-04-11 23:16                           ` Lucretia
2011-04-11 23:31                           ` Lucretia
2011-04-12  5:22                             ` Simon Wright
2011-04-12 17:07                             ` Simon Clubley [this message]
2011-04-13 16:53                       ` Simon Wright
2011-04-15  8:38                       ` Simon Wright
2011-04-11 23:08                   ` Lucretia
2011-04-12 11:50                     ` Simon Clubley
2011-04-12 16:48                       ` Lucretia
2011-04-11 11:19               ` Georg Bauhaus
2011-04-11 13:50                 ` Simon Wright
2011-04-14 19:19               ` Florian Weimer
2011-04-10 16:34 ` Rolf
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox