Don't use .previous instruction on Darwin.
This commit is contained in:
parent
6c91e9bff6
commit
552b06a0a4
|
@ -188,7 +188,7 @@ struct statvfs
|
|||
|
||||
/* Macros to define assembler functions somewhat portably */
|
||||
|
||||
#if defined(__GNUC__) && !defined(__MINGW32__)
|
||||
#if defined(__GNUC__) && !defined(__MINGW32__) && !defined(__APPLE__)
|
||||
# define __ASM_GLOBAL_FUNC(name,code) \
|
||||
__asm__( ".text\n\t" \
|
||||
".align 4\n\t" \
|
||||
|
@ -197,7 +197,7 @@ struct statvfs
|
|||
__ASM_NAME(#name) ":\n\t" \
|
||||
code \
|
||||
"\n\t.previous" );
|
||||
#else /* defined(__GNUC__) && !defined(__MINGW32__) */
|
||||
#else /* defined(__GNUC__) && !defined(__MINGW32__) && !defined(__APPLE__) */
|
||||
# define __ASM_GLOBAL_FUNC(name,code) \
|
||||
void __asm_dummy_##name(void) { \
|
||||
asm( ".align 4\n\t" \
|
||||
|
|
Loading…
Reference in New Issue