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-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,7c47766edd175974,start X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-11-01 16:57:27 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!canoe.uoregon.edu!arclight.uoregon.edu!wn13feed!wn11feed!wn12feed!worldnet.att.net!207.217.77.102!newsfeed2.earthlink.net!newsfeed1.earthlink.net!newsfeed.earthlink.net!newsfeed.jpl.nasa.gov!not-for-mail From: Van Snyder Newsgroups: comp.lang.ada Subject: How do package body initializers get run in GNU Ada? Date: Fri, 01 Nov 2002 16:39:23 -0800 Organization: Jet Propulsion Laboratory Message-ID: <3DC31EBB.2050809@math.jpl.nasa.gov> NNTP-Posting-Host: math.jpl.nasa.gov Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: nntp1.jpl.nasa.gov 1036197553 8154 137.79.7.57 (2 Nov 2002 00:39:13 GMT) X-Complaints-To: news@newsfeed.jpl.nasa.gov NNTP-Posting-Date: 2 Nov 2002 00:39:13 GMT User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20021003 X-Accept-Language: en, Russian, ru, Greek, el, zh Xref: archiver1.google.com comp.lang.ada:30300 Date: 2002-11-02T00:39:13+00:00 List-Id: In GNU Ada, what mechanism is used to cause execution of package body initializers, i.e., the code between begin and end in a package body? Is it done using some kind of back-patching/overlaying done by an otherwise garden-variety ld, by special features added to ld to support Ada, by first-time flags at the entries to procedures, or by something else? -- Van Snyder | What fraction of Americans believe vsnyder@math.jpl.nasa.gov | Wrestling is real and NASA is fake? Any alleged opinions are my own and have not been approved or disapproved by JPL, CalTech, NASA, Sean O'Keefe, George Bush, the Pope, or anybody else.