[U-Boot] [RFC] x86: Do no use reparm as it break libgcc linkage

Mike Frysinger vapier at gentoo.org
Fri Nov 11 02:55:27 CET 2011


On Thursday 10 November 2011 20:51:47 Graeme Russ wrote:
> A few questions (I am unfamiliar with the Linux build environment):
> 
>  a) Does Linux link to libgcc

no Linux port uses libgcc.  they've always done the equivalent of 
PRIVATE_LIBGCC.  but in the case of x86, i can't see them providing any libgcc 
funcs.  so i don't think u-boot should either.

>  b) Does Linux use regparm

yes, it uses -mregparm=3
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
Url : http://lists.denx.de/pipermail/u-boot/attachments/20111110/e373047f/attachment.pgp 


More information about the U-Boot mailing list