ARC: LIB: MWDT: add stdout hooks, timespec header
ARC MWDT toolchain misses stdout hooks implementation and itimerspec structure in timespec header. Let's add them in arcmwdt compatibility layer. The implementation was inspired by libc-hooks.c for NEWLIB. Signed-off-by: Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com> Signed-off-by: Evgeniy Paltsev <PaltsevEvgeniy@gmail.com>
This commit is contained in:
parent
e479d9aea0
commit
a5788ff12d
5 changed files with 80 additions and 2 deletions
|
@ -16,7 +16,7 @@
|
|||
* that need to call into the kernel as system calls
|
||||
*/
|
||||
|
||||
#ifdef CONFIG_NEWLIB_LIBC
|
||||
#if defined(CONFIG_NEWLIB_LIBC) || defined(CONFIG_ARCMWDT_LIBC)
|
||||
|
||||
/* syscall generation ignores preprocessor, ensure this is defined to ensure
|
||||
* we don't have compile errors
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue