On Tuesday 08 November 2011 04:27:44 Gabe Black wrote: > When gcc compiles some 64 bit operations on a 32 bit machine, it generates > calls to small functions instead of instructions which do the job directly. > Those functions are defined in libgcc and transparently provide whatever > functionality was necessary. Unfortunately, u-boot can be built with a > non-standard ABI when libgcc isn't. When the two are linked together, very > confusing bugs can crop up, for instance seemingly normal integer division > or modulus getting the wrong answer or even raising a spurious divide by > zero exception.
might be good to explicitly mention that this is due to u-boot using -mregparm > --- a/arch/x86/config.mk > +++ b/arch/x86/config.mk > > +LDSCRIPT := $(SRCTREE)/$(CPUDIR)/u-boot.lds looks like some old code sneaked in. bad rebase ? -mike
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot