diff options
author | Venkata Ramanaiah Nalamothu <quic_vnalamot@quicinc.com> | 2024-01-03 09:52:16 +0300 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2024-01-10 12:46:56 +0300 |
commit | c419bbb341528a97d2de88539caf200c9dec1ffb (patch) | |
tree | 3e6cf9e8142431369664c05d8fefe7cb1e7ce94e /winsup | |
parent | 9a863f713af24a3b18c165c640c936a4c0b707ea (diff) |
RISC-V: fix setting up std streams in init_semihosting()
Currently init_semihosting() assumes the return value from _open()
call as the file descriptor handle and that is incorrect.
The semihost _open() call returns the fdtable index returned by the
__add_fdentry() for the file opened.
Diffstat (limited to 'winsup')
0 files changed, 0 insertions, 0 deletions