mirror of
https://github.com/reactos/reactos.git
synced 2024-09-17 00:00:42 +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 __ASM_CFI(str) str
|
||||||
|
|
||||||
/* Define to a macro to define an assembly function */
|
/* Define to a macro to define an assembly function */
|
||||||
|
#ifndef _MSC_VER
|
||||||
#ifndef NO_UNDERSCORE_PREFIX
|
#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");
|
#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
|
#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");
|
#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
|
||||||
|
#endif
|
||||||
|
|
||||||
/* Define to a macro to generate an assembly function directive */
|
/* Define to a macro to generate an assembly function directive */
|
||||||
#define __ASM_FUNC(name) ".def " __ASM_NAME(name) "; .scl 2; .type 32; .endef"
|
#define __ASM_FUNC(name) ".def " __ASM_NAME(name) "; .scl 2; .type 32; .endef"
|
||||||
|
|
Loading…
Reference in a new issue