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
1 changed files with 5 additions and 0 deletions
|
@ -25,3 +25,8 @@ volatile int *__aeabi_errno_addr(void)
|
||||||
{
|
{
|
||||||
return &_current->errno_var;
|
return &_current->errno_var;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
int fputc(int c, FILE *f)
|
||||||
|
{
|
||||||
|
return (_stdout_hook)(c);
|
||||||
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue