Merge pull request #1257 from mstorsjo/fixup-apple-assembly

Explicitly add .syntax unified when building for iOS
This commit is contained in:
zhilwang 2014-08-11 08:40:27 +08:00
commit 46f1c898c6
2 changed files with 3 additions and 2 deletions

View File

@ -30,6 +30,8 @@
* *
*/ */
.syntax unified
#ifdef __APPLE__ #ifdef __APPLE__
.macro WELS_ASM_FUNC_BEGIN .macro WELS_ASM_FUNC_BEGIN
@ -44,7 +46,6 @@ mov pc, lr
.endm .endm
#else #else
.syntax unified
.section .note.GNU-stack,"",%progbits // Mark stack as non-executable .section .note.GNU-stack,"",%progbits // Mark stack as non-executable
.text .text

View File

@ -855,7 +855,7 @@ WELS_ASM_FUNC_END
beq bs_nzc_check_jump0 beq bs_nzc_check_jump0
sub r6, $0, $2, lsl #4 sub r6, $0, $2, lsl #4
sub r6, $2, lsl #3 sub r6, r6, $2, lsl #3
add r6, #12 add r6, #12
vld1.32 d3[1], [r6] vld1.32 d3[1], [r6]