lib: libc: armstdc: add missing retarget of fputc to _stdout_hook
Fixes #62677 where printf defaults to using armclang's semihosting backed implementation of printf. Signed-off-by: Wilfried Chauveau <wilfried.chauveau@arm.com>
This commit is contained in:
parent
89db200117
commit
d79ba86c04
|
@ -25,3 +25,8 @@ volatile int *__aeabi_errno_addr(void)
|
|||
{
|
||||
return &_current->errno_var;
|
||||
}
|
||||
|
||||
int fputc(int c, FILE *f)
|
||||
{
|
||||
return (_stdout_hook)(c);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue