Fix bug where t9 is not correct when __memset_chk_fail is called.
t9 is used to calculate gp at the start of __memset_chk_fail. Change-Id: Ief5018699e060afa691bfc1d861abd5e463ab80c
This commit is contained in:
parent
18576fea69
commit
f3b9c89d3a
1 changed files with 3 additions and 0 deletions
|
@ -208,7 +208,10 @@ LEAF(__memset_chk,0)
|
|||
#else
|
||||
LEAF(__memset_chk)
|
||||
#endif
|
||||
.set noreorder
|
||||
bgtu a2, a3, __memset_chk_fail
|
||||
la t9, __memset_chk_fail
|
||||
.set reorder
|
||||
|
||||
// Fall through to memset...
|
||||
END(__memset_chk)
|
||||
|
|
Loading…
Reference in a new issue