From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on ip-172-31-74-118.ec2.internal X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 2002:a37:9ed6:: with SMTP id h205mr986204qke.384.1592315520720; Tue, 16 Jun 2020 06:52:00 -0700 (PDT) X-Received: by 2002:a9d:7852:: with SMTP id c18mr2424542otm.82.1592315520479; Tue, 16 Jun 2020 06:52:00 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!feeder.eternal-september.org!feeder5.feed.usenet.farm!feed.usenet.farm!tr2.eu1.usenetexpress.com!feeder.usenetexpress.com!tr1.iad1.usenetexpress.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Tue, 16 Jun 2020 06:52:00 -0700 (PDT) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: google-groups.googlegroups.com; posting-host=185.34.132.200; posting-account=Srm5lQoAAAAEMX9rv2ilEKR6FDPapmSq NNTP-Posting-Host: 185.34.132.200 References: User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <861c5ff2-e72a-486f-a87b-2711834641feo@googlegroups.com> Subject: Re: How can I get this data into the .data section of the binary? From: Mark Lorenzen Injection-Date: Tue, 16 Jun 2020 13:52:00 +0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Xref: reader01.eternal-september.org comp.lang.ada:59091 List-Id: On Tuesday, June 16, 2020 at 3:00:28 PM UTC+2, Luke A. Guest wrote: > On 16/06/2020 13:56, J-P. Rosen wrote: > > Le 16/06/2020 =C3=A0 14:45, Luke A. Guest a =C3=A9crit=C2=A0: > >>> Except, you can't use that pragma, because it wants all other's to be > >>> preelaborated, but they're not. > >>> > >> And this is one of the things that really annoys me about Ada. > >> > > But how could it be otherwise? If you depend on a non-preelaborable > > unit, then you depend on something which is not computable at compile > > time... >=20 > Which misses the point entirely of my original issue, and complete > hatred of this part of Ada. Literally, if something can be compiled to > be in the data section, it should be. I don't know why you insist on eliminating elaboration code, but try to see= if this can help you: https://docs.adacore.com/gnathie_ug-docs/html/gnathie_ug/gnathie_ug/using_g= nat_pro_features_relevant_to_high_integrity.html#avoiding-elaboration-code Regards, Mark L