From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,69431b06fe9a3239 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news4.google.com!feeder3.cambriumusenet.nl!feed.tweaknews.nl!193.201.147.78.MISMATCH!feeder.news-service.com!85.214.198.2.MISMATCH!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail From: Simon Clubley Newsgroups: comp.lang.ada Subject: Re: How do I disable elaboration code on this Date: Tue, 12 Apr 2011 17:07:26 +0000 (UTC) Organization: A noiseless patient Spider Message-ID: References: <58bc4fb4-5f6a-48d6-9c98-0dde7ac619df@p16g2000vbo.googlegroups.com> <4da2176e$0$6977$9b4e6d93@newsspool4.arcor-online.net> <93b20b91-03ed-48d2-87b6-a109127a5a4f@l18g2000yql.googlegroups.com> <6bca8b26-152f-482c-95c0-1abf88b6b29b@a26g2000vbo.googlegroups.com> <23417eb4-a588-4cd7-a58a-5a2eb59b0e3a@z31g2000vbs.googlegroups.com> <415b67f0-5137-4640-b58c-be2aebb73344@l11g2000yqb.googlegroups.com> <0233954c-cf4e-458c-a0c0-2969539855f6@l39g2000yqh.googlegroups.com> Injection-Date: Tue, 12 Apr 2011 17:07:26 +0000 (UTC) Injection-Info: mx01.eternal-september.org; posting-host="4pjzwDT2MPp9AkNxUo/C4Q"; logging-data="17084"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19raFFfHpV2vhCJaSwCslj8VRGf0DrfjDg=" User-Agent: slrn/0.9.8.1 (VMS/Multinet) Cancel-Lock: sha1:1Lt/yZkY9yuS/JImQhK/eHy3Omo= Xref: g2news2.google.com comp.lang.ada:19745 Date: 2011-04-12T17:07:26+00:00 List-Id: On 2011-04-11, Lucretia 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