From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Thu, 2 Jun 2016 09:06:14 -0400 Subject: [U-Boot] [PATCH 12/12] lib: Enable private libgcc by default In-Reply-To: <1464278507-5092-12-git-send-email-marex@denx.de> References: <1464278507-5092-1-git-send-email-marex@denx.de> <1464278507-5092-12-git-send-email-marex@denx.de> Message-ID: <20160602130614.GS7419@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Thu, May 26, 2016 at 06:01:47PM +0200, Marek Vasut wrote: > 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: Marek Vasut > Cc: Albert Aribaud > Cc: Masahiro Yamada > Cc: Simon Glass > Cc: Tom Rini Reviewed-by: Tom Rini -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: