Fix x86-64 build.
This commit is contained in:
@@ -253,10 +253,10 @@ FUNCTION(arch_cpu_user_strlcpy):
|
|||||||
not %rcx
|
not %rcx
|
||||||
# %rcx was 0 and is now max
|
# %rcx was 0 and is now max
|
||||||
xor %al, %al
|
xor %al, %al
|
||||||
movl %rsi, %rdi
|
movq %rsi, %rdi
|
||||||
repnz
|
repnz
|
||||||
scasb
|
scasb
|
||||||
movl %rdi, %rsi
|
movq %rdi, %rsi
|
||||||
|
|
||||||
.L_user_strlcpy_source_done:
|
.L_user_strlcpy_source_done:
|
||||||
// Restore the old fault handler
|
// Restore the old fault handler
|
||||||
|
|||||||
Reference in New Issue
Block a user