Fix the error value we write in cerror. __error returns an int *, however
we were writing a 64 bit value meaning the 32 bits after this would be trashed. MFC after: 3 days Sponsored by: DARPA, AFRL
This commit is contained in:
parent
90a79ac576
commit
d15ac668f0
@ -34,7 +34,7 @@ ENTRY(cerror)
|
||||
stp x0, lr, [sp]
|
||||
bl _C_LABEL(__error)
|
||||
ldp x1, lr, [sp]
|
||||
str x1, [x0]
|
||||
str w1, [x0]
|
||||
movn x0, #0
|
||||
movn x1, #0
|
||||
add sp, sp, #16
|
||||
|
Loading…
Reference in New Issue
Block a user