naked functions on x86
Jim Wilson
wilson@specifixinc.com
Mon Jun 7 05:24:00 GMT 2004
Jonathan Wilson wrote:
> Is there a way to get the same functionality as __declspec(naked) in
> visual C++ with GCC on x86?
No. We generally don't support naked functions because there is no easy
way to make them work. Put almost anything inside a naked function, and
it will fail.
Try writing assembly code instead of C code.
--
Jim Wilson, GNU Tools Support, http://www.SpecifixInc.com
More information about the Gcc
mailing list