newlib-cygwin/libgloss/riscv
Venkata Ramanaiah Nalamothu c419bbb341 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.
2024-01-10 10:46:56 +01:00
..
machine RISC-V: Using SYS_clock_gettime64 for rv32 libgloss. 2021-04-13 12:54:49 +02:00
Makefile.inc Bring back libsim.a for riscv 2023-09-18 22:49:15 -04:00
crt0.S RISC-V: Initialize the jvt CSR 2024-01-08 13:12:06 +01:00
internal_syscall.h RISC-V: Fix -Wint-conversion warning 2023-12-04 10:26:41 +01:00
kernel_stat.h RISC-V: Moved syscalls to separate files to fix aliasing problems. 2017-12-26 12:27:52 -08:00
nano.specs RISC-V: Use newlib nano specific libm. 2020-01-31 12:42:52 +01:00
nanosleep.c RISC-V: Add nanosleep functionality 2017-12-26 12:24:45 -08:00
semihost-sys_close.c RISC-V: Add semihosting support 2020-12-16 16:40:34 -05:00
semihost-sys_exit.c RISC-V: Add semihosting support 2020-12-16 16:40:34 -05:00
semihost-sys_fdtable.c RISC-V: fix setting up std streams in init_semihosting() 2024-01-10 10:46:56 +01:00
semihost-sys_fstat.c RISC-V: Add semihosting support 2020-12-16 16:40:34 -05:00
semihost-sys_ftime.c RISC-V: Add semihosting support 2020-12-16 16:40:34 -05:00
semihost-sys_isatty.c RISC-V: Add semihosting support 2020-12-16 16:40:34 -05:00
semihost-sys_link.c RISC-V: Add semihosting support 2020-12-16 16:40:34 -05:00
semihost-sys_lseek.c RISC-V: Add semihosting support 2020-12-16 16:40:34 -05:00
semihost-sys_open.c RISC-V: Add semihosting support 2020-12-16 16:40:34 -05:00
semihost-sys_read.c RISC-V: Add semihosting support 2020-12-16 16:40:34 -05:00
semihost-sys_sbrk.c RISC-V: Add semihosting support 2020-12-16 16:40:34 -05:00
semihost-sys_stat.c RISC-V: Add semihosting support 2020-12-16 16:40:34 -05:00
semihost-sys_stat_common.c RISC-V: Add semihosting support 2020-12-16 16:40:34 -05:00
semihost-sys_unlink.c RISC-V: Add semihosting support 2020-12-16 16:40:34 -05:00
semihost-sys_write.c RISC-V: Add semihosting support 2020-12-16 16:40:34 -05:00
semihost.specs RISC-V: Add semihosting support 2020-12-16 16:40:34 -05:00
semihost_fdtable.h RISC-V: Add semihosting support 2020-12-16 16:40:34 -05:00
semihost_stat.h RISC-V: Add semihosting support 2020-12-16 16:40:34 -05:00
semihost_syscall.h RISC-V: Add semihosting support 2020-12-16 16:40:34 -05:00
sim.specs RISC-V: Add gdb sim and newlib nano support. Fix a few misc minor bugs. 2017-12-26 12:31:33 -08:00
sys_access.c Only pass the minimum number of syscall arguments 2020-02-11 09:41:52 +01:00
sys_chdir.c RISC-V: Moved syscalls to separate files to fix aliasing problems. 2017-12-26 12:27:52 -08:00
sys_chmod.c RISC-V: Moved syscalls to separate files to fix aliasing problems. 2017-12-26 12:27:52 -08:00
sys_chown.c RISC-V: Moved syscalls to separate files to fix aliasing problems. 2017-12-26 12:27:52 -08:00
sys_close.c Only pass the minimum number of syscall arguments 2020-02-11 09:41:52 +01:00
sys_conv_stat.c RISC-V: Moved syscalls to separate files to fix aliasing problems. 2017-12-26 12:27:52 -08:00
sys_execve.c RISC-V: Moved syscalls to separate files to fix aliasing problems. 2017-12-26 12:27:52 -08:00
sys_exit.c Only pass the minimum number of syscall arguments 2020-02-11 09:41:52 +01:00
sys_faccessat.c Only pass the minimum number of syscall arguments 2020-02-11 09:41:52 +01:00
sys_fork.c RISC-V: Moved syscalls to separate files to fix aliasing problems. 2017-12-26 12:27:52 -08:00
sys_fstat.c Only pass the minimum number of syscall arguments 2020-02-11 09:41:52 +01:00
sys_fstatat.c Only pass the minimum number of syscall arguments 2020-02-11 09:41:52 +01:00
sys_ftime.c RISC-V: Moved syscalls to separate files to fix aliasing problems. 2017-12-26 12:27:52 -08:00
sys_getcwd.c RISC-V: Moved syscalls to separate files to fix aliasing problems. 2017-12-26 12:27:52 -08:00
sys_getpid.c RISC-V: Moved syscalls to separate files to fix aliasing problems. 2017-12-26 12:27:52 -08:00
sys_gettimeofday.c RISC-V: Fix timeval conversion in _gettimeofday() 2023-11-29 10:14:55 +01:00
sys_isatty.c RISC-V: isatty: return 0 on error 2018-01-18 09:21:10 +01:00
sys_kill.c RISC-V: Moved syscalls to separate files to fix aliasing problems. 2017-12-26 12:27:52 -08:00
sys_link.c Only pass the minimum number of syscall arguments 2020-02-11 09:41:52 +01:00
sys_lseek.c Only pass the minimum number of syscall arguments 2020-02-11 09:41:52 +01:00
sys_lstat.c Only pass the minimum number of syscall arguments 2020-02-11 09:41:52 +01:00
sys_open.c Only pass the minimum number of syscall arguments 2020-02-11 09:41:52 +01:00
sys_openat.c Only pass the minimum number of syscall arguments 2020-02-11 09:41:52 +01:00
sys_read.c Only pass the minimum number of syscall arguments 2020-02-11 09:41:52 +01:00
sys_sbrk.c Only pass the minimum number of syscall arguments 2020-02-11 09:41:52 +01:00
sys_stat.c Only pass the minimum number of syscall arguments 2020-02-11 09:41:52 +01:00
sys_sysconf.c RISC-V: Moved syscalls to separate files to fix aliasing problems. 2017-12-26 12:27:52 -08:00
sys_times.c RISC-V: Reliably initialize t0 in _times() 2021-08-04 11:44:33 +02:00
sys_unlink.c Only pass the minimum number of syscall arguments 2020-02-11 09:41:52 +01:00
sys_utime.c RISC-V: Moved syscalls to separate files to fix aliasing problems. 2017-12-26 12:27:52 -08:00
sys_wait.c RISC-V: Moved syscalls to separate files to fix aliasing problems. 2017-12-26 12:27:52 -08:00
sys_write.c Only pass the minimum number of syscall arguments 2020-02-11 09:41:52 +01:00