comp.lang.ada
 help / color / mirror / Atom feed
From: pini <zepini@gmail.com>
Subject: Strip procedure prologue and epilogue
Date: Tue, 16 Dec 2008 14:52:50 -0800 (PST)
Date: 2008-12-16T14:52:50-08:00	[thread overview]
Message-ID: <0bc2447d-ee51-4fce-8bb5-18a0822b7099@r10g2000prf.googlegroups.com> (raw)

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



             reply	other threads:[~2008-12-16 22:52 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-16 22:52 pini [this message]
2008-12-16 23:06 ` Strip procedure prologue and epilogue Ludovic Brenta
2008-12-17  0:01 ` Jeffrey R. Carter
2008-12-17  8:11 ` Rolf
2008-12-17  9:40   ` pini
2008-12-17  9:50     ` Ludovic Brenta
2008-12-19  0:01 ` Samuel Tardieu
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox