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>
This commit is contained in:
parent
461cca7997
commit
1e48392e32
|
|
@ -67,6 +67,7 @@ config ARM
|
||||||
config M68K
|
config M68K
|
||||||
bool "M68000 architecture"
|
bool "M68000 architecture"
|
||||||
select HAVE_PRIVATE_LIBGCC
|
select HAVE_PRIVATE_LIBGCC
|
||||||
|
select USE_PRIVATE_LIBGCC
|
||||||
select NEEDS_MANUAL_RELOC
|
select NEEDS_MANUAL_RELOC
|
||||||
select SYS_BOOT_GET_CMDLINE
|
select SYS_BOOT_GET_CMDLINE
|
||||||
select SYS_BOOT_GET_KBD
|
select SYS_BOOT_GET_KBD
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue