On 7/13/2026 1:07 PM, Matheus Tavares Bernardino wrote: > The common semihosting syscall layer has no ftruncate > helper, but the Hexagon semihosting ABI includes an FTRUNC > operation. Add semihost_sys_ftruncate() so that Hexagon > can delegate to it rather than calling ftruncate directly. > > Signed-off-by: Matheus Tavares Bernardino > <[email protected]> > Signed-off-by: Brian Cain <[email protected]> > --- > include/semihosting/syscalls.h | 2 ++ > semihosting/syscalls.c | 29 +++++++++++++++++++++++++++++ > 2 files changed, 31 insertions(+) >
Reviewed-by: Pierrick Bouvier <[email protected]>
