This is the mail archive of the gcc-bugs@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]

[Bug target/50242] __attribute__((naked)) is not implemented on IA32 (x86)


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50242

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu.org

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-08-31 16:10:59 UTC ---
You can define whole functions in toplevel asms, like:
asm (".globl foobar; .type foobar, @function;\n"
     "foobar: whatever; ret; .size foobar, . - foobar;\n");


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