diff options
author | Angelo Dureghello <angelo@kernel-space.org> | 2023-02-07 23:45:03 +0100 |
---|---|---|
committer | Angelo Dureghello <angelo@kernel-space.org> | 2023-03-15 01:38:19 +0100 |
commit | 1e48392e320c15f726815e1c239ee4afd9af9bbf (patch) | |
tree | f680e12d0ddf5f152084eed42b7d6b4ef5252c65 | |
parent | 461cca79972dd9737432860cfe63ce8b3a2d0535 (diff) | |
download | u-boot-1e48392e320c15f726815e1c239ee4afd9af9bbf.zip u-boot-1e48392e320c15f726815e1c239ee4afd9af9bbf.tar.gz u-boot-1e48392e320c15f726815e1c239ee4afd9af9bbf.tar.bz2 |
arch: enable private libgcc for m68k
This patch fixes u-boot hanging on the first printf("%x", val).
Some toolchains built without multilib enabled may produce
u-boot freezing on first u64 shift operation, as in
lib/vsprintf.c number() function.
Using our private libgcc solves the issue.
Setting private libgcc enabled at architecture level to avoid
similar issues, it should not harm.
Signed-off-by: Angelo Durgehello <angelo@kernel-space.org>
-rw-r--r-- | arch/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/Kconfig b/arch/Kconfig index d30676a..55b9a5e 100644 --- a/arch/Kconfig +++ b/arch/Kconfig @@ -67,6 +67,7 @@ config ARM config M68K bool "M68000 architecture" select HAVE_PRIVATE_LIBGCC + select USE_PRIVATE_LIBGCC select NEEDS_MANUAL_RELOC select SYS_BOOT_GET_CMDLINE select SYS_BOOT_GET_KBD |