aarch64: fix index base register for AArch64

The base is passed in `x3`, not in `x2`.  This fixes the indexing base
so that the right value is used.
This commit is contained in:
Saleem Abdulrasool
2017-10-26 19:13:10 -07:00
parent ad15ae762c
commit 1fb788ac89
3 changed files with 98 additions and 2 deletions
+1 -1
View File
@@ -296,7 +296,7 @@ CNAME(ffi_closure_SYSV):
nop
8: ldr s3, [x3, #12] /* S4 */
nop
9: ldr s2, [x2, #8] /* S3 */
9: ldr s2, [x3, #8] /* S3 */
nop
10: ldp s0, s1, [x3] /* S2 */
b 99f