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=-0.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,c7e469ccb3e8d0e7,start X-Google-Attributes: gid103376,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!postnews.google.com!r10g2000prf.googlegroups.com!not-for-mail From: pini Newsgroups: comp.lang.ada Subject: Strip procedure prologue and epilogue Date: Tue, 16 Dec 2008 14:52:50 -0800 (PST) Organization: http://groups.google.com Message-ID: <0bc2447d-ee51-4fce-8bb5-18a0822b7099@r10g2000prf.googlegroups.com> NNTP-Posting-Host: 81.50.141.252 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: posting.google.com 1229467971 27171 127.0.0.1 (16 Dec 2008 22:52:51 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Tue, 16 Dec 2008 22:52:51 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: r10g2000prf.googlegroups.com; posting-host=81.50.141.252; posting-account=53KgPAoAAADO34KqU7cVwVFQkcHJ9B-B User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.4) Gecko/2008111318 Ubuntu/8.10 (intrepid) Firefox/3.0.4,gzip(gfe),gzip(gfe) Xref: g2news2.google.com comp.lang.ada:3984 Date: 2008-12-16T14:52:50-08:00 List-Id: A usual procedure like procedure Foo begin -- some stuff here; end; generates a prologue like pushl %ebx -- generated code for some stuff here popl %ebx I have a very specific procedure whose purpose is to be called at bootloading time and set up a stack, so there is no need for the prologue and epilogue of this procedure to exist. Is there an ada-only way (through a pragma for instance) to strip the prologue and epilogue of this procedure ? Any help is welcome. pini