commit | de9202691a34c72443942c60d05371f5039fe6c1 | [log] [tgz] |
---|---|---|
author | Manish V Badarkhe <Manish.Badarkhe@arm.com> | Mon Sep 26 15:06:56 2022 +0100 |
committer | Manish V Badarkhe <Manish.Badarkhe@arm.com> | Wed Sep 28 11:53:42 2022 +0100 |
tree | b20fac1b5bf169a1d5b97fe8cab47bf4890cc35a | |
parent | 0217cfe2e26f24dbe877f5c2db781cb90326e49d [diff] |
fix(semihosting): fix seek call failure check The code checks that the semihosting seek call return value is not zero instead of a negative value when there is an error condition. This defect has been fixed. In [1], possible return values for semihosting seek calls are mentioned. [1]: https://github.com/ARM-software/abi-aa/blob/main/semihosting/ semihosting.rst#sys-seek-0x0a Change-Id: I70f09e98323e9c5bf4eeda322ac065e855e256fc Signed-off-by: Manish V Badarkhe <Manish.Badarkhe@arm.com>