• 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
Licenses Loading commit data...
api Loading commit data...
arch Loading commit data...
board Loading commit data...
cmd Loading commit data...
common Loading commit data...
configs Loading commit data...
disk Loading commit data...
doc Loading commit data...
drivers Loading commit data...
dts Loading commit data...
examples Loading commit data...
fs Loading commit data...
include Loading commit data...
lib Loading commit data...
net Loading commit data...
post Loading commit data...
scripts Loading commit data...
test Loading commit data...
tools Loading commit data...
.checkpatch.conf Loading commit data...
.gitignore Loading commit data...
.mailmap Loading commit data...
.travis.yml Loading commit data...
Kbuild Loading commit data...
Kconfig Loading commit data...
MAINTAINERS Loading commit data...
MAKEALL Loading commit data...
Makefile Loading commit data...
README Loading commit data...
config.mk Loading commit data...
snapshot.commit Loading commit data...