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,c7e469ccb3e8d0e7 X-Google-Attributes: gid103376,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news1.google.com!news.glorb.com!news2!feeder.erje.net!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!news.wiretrip.org!border1.nntp.ams.giganews.com!nntp.giganews.com!feed.xsnews.nl!border-2.ams.xsnews.nl!proxad.net!feeder1-1.proxad.net!cleanfeed3-a.proxad.net!nnrp7-1.free.fr!not-for-mail From: Samuel Tardieu Newsgroups: comp.lang.ada Subject: Re: Strip procedure prologue and epilogue References: <0bc2447d-ee51-4fce-8bb5-18a0822b7099@r10g2000prf.googlegroups.com> Date: Fri, 19 Dec 2008 01:01:47 +0100 Message-ID: <87iqph9gno.fsf@willow.rfc1149.net> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux) Cancel-Lock: sha1:egohXk2euT+8pIEwEhetrXp93/o= MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Leafnode-NNTP-Posting-Host: 2001:6f8:37a:2::2 Organization: Guest of ProXad - France NNTP-Posting-Date: 19 Dec 2008 01:05:03 MET NNTP-Posting-Host: 91.121.19.179 X-Trace: 1229645103 news-2.free.fr 6696 91.121.19.179:34085 X-Complaints-To: abuse@proxad.net Xref: g2news2.google.com comp.lang.ada:4015 Date: 2008-12-19T01:05:03+01:00 List-Id: >>>>> "pini" == pini writes: pini> I have a very specific procedure whose purpose is to be called pini> at bootloading time and set up a stack, so there is no need for pini> the prologue and epilogue of this procedure to exist. Is there pini> an ada-only way (through a pragma for instance) to strip the pini> prologue and epilogue of this procedure ? Probably not, as the existence of the prologue/epilogue is not supposed to change anything for the Ada programmer. If you're using GNAT, you may be lucky by using "-fomit-frame-pointer" on your code. Sam -- Samuel Tardieu -- sam@rfc1149.net -- http://www.rfc1149.net/