• Marek Vasut's avatar
    lib: Enable private libgcc by default · 91b86e21
    Marek Vasut authored
    This patch decouples U-Boot binary from the toolchain on systems where
    private libgcc is available. Instead of pulling in functions provided
    by the libgcc from the toolchain, U-Boot will use it's own set of libgcc
    functions. These functions are usually imported from Linux kernel, which
    also uses it's own libgcc functions instead of the ones provided by the
    toolchain.
    
    This patch solves a rather common problem. The toolchain can usually
    generate code for many variants of target architecture and often even
    different endianness. The libgcc on the other hand is usually compiled
    for one particular configuration and the functions provided by it may
    or may not be suited for use in U-Boot. This can manifest in two ways,
    either the U-Boot fails to compile altogether and linker will complain
    or, in the much worse case, the resulting U-Boot will build, but will
    misbehave in very subtle and hard to debug ways.
    Signed-off-by: default avatarMarek Vasut <marex@denx.de>
    Cc: Albert Aribaud <albert.u.boot@aribaud.net>
    Cc: Masahiro Yamada <yamada.masahiro@socionext.com>
    Cc: Simon Glass <sjg@chromium.org>
    Cc: Tom Rini <trini@konsulko.com>
    Reviewed-by: default avatarTom Rini <trini@konsulko.com>
    91b86e21
Name
Last commit
Last update
..
bzip2 Loading commit data...
dhry Loading commit data...
efi Loading commit data...
efi_loader Loading commit data...
libfdt Loading commit data...
lzma Loading commit data...
lzo Loading commit data...
rsa Loading commit data...
tizen Loading commit data...
zlib Loading commit data...
Kconfig Loading commit data...
Makefile Loading commit data...
addr_map.c Loading commit data...
aes.c Loading commit data...
asm-offsets.c Loading commit data...
bch.c Loading commit data...
bitrev.c Loading commit data...
circbuf.c Loading commit data...
crc16.c Loading commit data...
crc32.c Loading commit data...
crc7.c Loading commit data...
crc8.c Loading commit data...
ctype.c Loading commit data...
display_options.c Loading commit data...
div64.c Loading commit data...
errno.c Loading commit data...
errno_str.c Loading commit data...
fdtdec.c Loading commit data...
fdtdec_common.c Loading commit data...
fdtdec_test.c Loading commit data...
gunzip.c Loading commit data...
gzip.c Loading commit data...
hang.c Loading commit data...
hashtable.c Loading commit data...
initcall.c Loading commit data...
ldiv.c Loading commit data...
linux_compat.c Loading commit data...
linux_string.c Loading commit data...
list_sort.c Loading commit data...
lmb.c Loading commit data...
lz4.c Loading commit data...
lz4_wrapper.c Loading commit data...
md5.c Loading commit data...
membuff.c Loading commit data...
net_utils.c Loading commit data...
panic.c Loading commit data...
physmem.c Loading commit data...
qsort.c Loading commit data...
rand.c Loading commit data...
rbtree.c Loading commit data...
rc4.c Loading commit data...
sha1.c Loading commit data...
sha256.c Loading commit data...
slre.c Loading commit data...
string.c Loading commit data...
strmhz.c Loading commit data...
strto.c Loading commit data...
time.c Loading commit data...
tiny-printf.c Loading commit data...
tpm.c Loading commit data...
trace.c Loading commit data...
uuid.c Loading commit data...
vsprintf.c Loading commit data...