* Merge 50715 from the cmake branch.

svn path=/trunk/; revision=52267
This commit is contained in:
Amine Khaldi 2011-06-15 23:07:31 +00:00
parent e7171fce5a
commit 3bdcd4c29c

View file

@ -1014,11 +1014,13 @@
#define __ASM_CFI(str) str
/* Define to a macro to define an assembly function */
#ifndef _MSC_VER
#ifndef NO_UNDERSCORE_PREFIX
#define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t.globl _" #name suffix "\n\t.def _" #name suffix "; .scl 2; .type 32; .endef\n_" #name suffix ":\n\t.cfi_startproc\n\t" code "\n\t.cfi_endproc");
#else
#define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t.globl " #name suffix "\n\t.def " #name suffix "; .scl 2; .type 32; .endef\n" #name suffix ":\n\t.cfi_startproc\n\t" code "\n\t.cfi_endproc");
#endif
#endif
/* Define to a macro to generate an assembly function directive */
#define __ASM_FUNC(name) ".def " __ASM_NAME(name) "; .scl 2; .type 32; .endef"