commit | 7c4943887477754024f0f736461d9543d502efcc | [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 | 58aebb6a53170cca6211e400e6630d2747bac9de [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>