u-boot/arch
Heinrich Schuchardt 34bee10e00 sandbox: replace putchar(ch) by fputc(ch, stdout)
When compiled with -Og for better debugability u-boot ends up in a stack
overflow using

    gcc (Ubuntu 11.2.0-7ubuntu2) 11.2.0
    GNU Binutils for Ubuntu 2.37

putchar(ch) is defined as a macro which ends up calling U-Boot's putc()
implementation instead of the glibc one, which calls os_putc() ...

Let's use fputc(ch, stdout) instead as fputc() does not exist in U-Boot.

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
2021-12-02 09:15:43 -07:00
..
arc image: Drop IMAGE_ENABLE_OF_LIBFDT 2021-10-08 15:53:26 -04:00
arm Convert CONFIG_FSL_DDR_BIST et al to Kconfig 2021-12-01 10:58:11 -05:00
m68k WS cleanup: remove SPACE(s) followed by TAB 2021-09-30 09:08:16 -04:00
microblaze image: Drop IMAGE_ENABLE_OF_LIBFDT 2021-10-08 15:53:26 -04:00
mips Convert CONFIG_USB_EHCI_IS_TDI to Kconfig 2021-10-15 09:42:22 -04:00
nds32 image: Drop IMAGE_ENABLE_OF_LIBFDT 2021-10-08 15:53:26 -04:00
nios2 lmb: nios2: Add arch_lmb_reserve() 2021-09-23 14:15:32 -04:00
powerpc Convert CONFIG_SYS_BR0_PRELIM et al to Kconfig 2021-12-01 10:58:10 -05:00
riscv riscv: add #define in asm/io.h for some device drivers 2021-11-08 15:35:55 +08:00
sandbox sandbox: replace putchar(ch) by fputc(ch, stdout) 2021-12-02 09:15:43 -07:00
sh WS cleanup: remove trailing empty lines 2021-09-30 08:08:56 -04:00
x86 efi: Add video support to the app 2021-11-07 18:36:55 +01:00
xtensa WS cleanup: remove SPACE(s) followed by TAB 2021-09-30 09:08:16 -04:00
.gitignore
Kconfig Prepare v2021.10-rc4 2021-09-16 10:29:40 -04:00
u-boot-elf.lds arch: Add explicit linker script for u-boot-elf 2020-04-03 11:52:55 -04:00