comp.lang.ada
 help / color / mirror / Atom feed
* Strip procedure prologue and epilogue
@ 2008-12-16 22:52 pini
  2008-12-16 23:06 ` Ludovic Brenta
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: pini @ 2008-12-16 22:52 UTC (permalink / 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



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2008-12-19  0:01 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-12-16 22:52 Strip procedure prologue and epilogue pini
2008-12-16 23:06 ` 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

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