[U-Boot] [PATCH 5/7] powerpc: Minimal private libgcc to build on Debian

Wolfgang Denk wd at denx.de
Mon Feb 21 22:24:33 CET 2011


Dear Kyle Moffett,

In message <1298311199-18775-6-git-send-email-Kyle.D.Moffett at boeing.com> you wrote:
> Standard Debian powerpc and powerpcspe systems only include hard-float
> libgcc in their native compilers, which causes scary build warnings when
> building U-Boot.
> 
> The easiest way to resolve this is to borrow the routines that U-Boot
> needs from the Linux kernel (GPLv2-licensed), which has the same issue.
> 
> Specifically, the routines are: _ashldi3(), _ashrdi3(), and _lshrdi3().
> 
> The Makefile framework was copied from the U-Boot ARM port.
> 
> Signed-off-by: Kyle Moffett <Kyle.D.Moffett at boeing.com>

There are also whitespace problems with this patch - there is
trailing whitespace in the assembler code.  Please fix.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Uncertain fortune is thoroughly mastered by the equity of the  calcu-
lation.                                               - Blaise Pascal


More information about the U-Boot mailing list