mirror of
https://github.com/reactos/reactos.git
synced 2024-09-09 04:10:19 +00:00
[CMAKE]
* Merge 50715 from the cmake branch. svn path=/trunk/; revision=52267
This commit is contained in:
parent
e7171fce5a
commit
3bdcd4c29c
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue