linux-assembly.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Naked Functions
@ 2003-05-27 14:13 S kris
  2003-05-27 14:29 ` André Wagner
  2003-06-08 14:51 ` HLA v1.49 is now available Randall Hyde
  0 siblings, 2 replies; 3+ messages in thread
From: S kris @ 2003-05-27 14:13 UTC (permalink / raw)
  To: gcc; +Cc: linux-assembly

Hi,

I have come across some MS C code which uses 'naked' functions. How can I 
achieve a similar effect with GNU toolchain. I do not want to rewrite the 
code in assembly .s file and would prefer to do simple modifications to make 
it work with Linux.

Is the macro __attribute__((naked)) valid for the above purpose?
If not, what are the methods to generate the code for functions without its 
prolog and epilog code (naked functions) under Linux?
Is prolog and epilog  code generated by both MS tools and GNU tools 
(compilers) are same?

Please clarify the above queries.

Thanks in advance.

--Kris

_________________________________________________________________
Reconnect with old pals. Relive the happy times. 
http://www.batchmates.com/msn.asp With just one click.


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

end of thread, other threads:[~2003-06-08 14:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-05-27 14:13 Naked Functions S kris
2003-05-27 14:29 ` André Wagner
2003-06-08 14:51 ` HLA v1.49 is now available Randall Hyde

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).