Merge "[mips64] Call __memset_chk_fail correctly for mips64."
This commit is contained in:
commit
488f5fc6a4
1 changed files with 8 additions and 5 deletions
|
@ -209,11 +209,14 @@ LEAF(__memset_chk,0)
|
||||||
LEAF(__memset_chk)
|
LEAF(__memset_chk)
|
||||||
#endif
|
#endif
|
||||||
.set noreorder
|
.set noreorder
|
||||||
bgtu a2, a3, __memset_chk_fail
|
sltu t2, a3, a2
|
||||||
la t9, __memset_chk_fail
|
beq t2, zero, memset
|
||||||
.set reorder
|
nop
|
||||||
|
.cpsetup t9, t8, __memset_chk
|
||||||
// Fall through to memset...
|
LA t9, __memset_chk_fail
|
||||||
|
jr t9
|
||||||
|
nop
|
||||||
|
.set reorder
|
||||||
END(__memset_chk)
|
END(__memset_chk)
|
||||||
|
|
||||||
#ifdef __ANDROID__
|
#ifdef __ANDROID__
|
||||||
|
|
Loading…
Reference in a new issue