Hi Mike, On Fri, Nov 11, 2011 at 12:55 PM, Mike Frysinger <vap...@gentoo.org> wrote: > 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
Well I think we have an answer - use PRIVATE_LIBGCC but do not implement any libgcc functions and treat link errors as coding errors. If for some bizarre reason we need to really, truly, honestly use a 64-bit libgcc function, we'll port it over then Regards, Graeme _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot