diff options
author | Angelo Dureghello <angelo@kernel-space.org> | 2023-02-07 23:45:03 +0100 |
---|---|---|
committer | Angelo Dureghello <angelo@kernel-space.org> | 2023-02-28 21:19:42 +0100 |
commit | d777d352e579e55284812defbca37b0ea8f6ab88 (patch) | |
tree | 860408866b25d74cff9bdc7f78ff43c1ca7d32de | |
parent | f0bdf8e121e63ea014d02fb357c03bc1d85f05a2 (diff) | |
download | u-boot-d777d352e579e55284812defbca37b0ea8f6ab88.zip u-boot-d777d352e579e55284812defbca37b0ea8f6ab88.tar.gz u-boot-d777d352e579e55284812defbca37b0ea8f6ab88.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 |