[U-Boot] [U-Boot, 05/12] arm: lib: Sync libgcc 32b division/modulo operations

Tom Rini trini at konsulko.com
Fri Jun 3 15:59:35 CEST 2016


On Thu, May 26, 2016 at 06:01:40PM +0200, Marek Vasut wrote:

> Sync the libgcc 32bit division and modulo operations with Linux 4.4.6 ,
> commit 0d1912303e54ed1b2a371be0bba51c384dd57326 . The functions in these
> four files are present in lib1funcs.S in Linux, so replace these files
> with lib1funcs.S from Linux.
> 
> Since we do not support stack unwinding, instead of importing the whole
> asm/unwind.h and all the baggage, this patch defines empty UNWIND() macro
> in lib1funcs.S . Moreover, to make all of the functions available, define
> CONFIG_AEABI , which is safe, because U-Boot is always compiled with ARM
> EABI.
> 
> This patch also defines CONFIG_THUMB2_KERNEL and CONFIG_ARM_ASM_UNIFIED
> which is necessary for correct build of these files both in ARM and
> Thumb mode, just like Linux does.
> 
> Signed-off-by: Marek Vasut <marex at denx.de>
> Cc: Albert Aribaud <albert.u.boot at aribaud.net>
> Cc: Masahiro Yamada <yamada.masahiro at socionext.com>
> Cc: Simon Glass <sjg at chromium.org>
> Cc: Tom Rini <trini at konsulko.com>
> Reviewed-by: Tom Rini <trini at konsulko.com>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160603/84f49e00/attachment.sig>


More information about the U-Boot mailing list