This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: naked functions on x86


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]