This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: naked functions on x86
- From: James Lemke <jim at TheLemkes dot ca>
- To: Jonathan Wilson <jonwil at tpgi dot com dot au>
- Cc: gcc at gcc dot gnu dot org
- Date: Thu, 3 Jun 2004 16:08:41 -0400
- Subject: Re: naked functions on x86
- References: <40BF36F1.2040809@tpgi.com.au>
On 3 Jun, 2004, at 10:34, Jonathan Wilson wrote:
Is there a way to get the same functionality as __declspec(naked) in
visual C++ with GCC on x86?
Try: function() __attribute__ ((naked));
I think that works.
--
Jim Lemke jim@wasabisystems.com Orillia, Ontario