From: Mike Frysinger Date: Sun, 20 Nov 2011 00:31:05 -0500 Subject: [U-Boot] [PATCH] mx5: Correct a warning in clock.c In-Reply-To: References: <1320503122-8005-1-git-send-email-sjg@chromium.org> <201111181453.32830.vapier@gentoo.org> Message-ID: <201111200031.06719.vapier@gentoo.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Sunday 20 November 2011 00:08:05 Simon Glass wrote: > On Fri, Nov 18, 2011 at 11:53 AM, Mike Frysinger wrote: > > On Friday 18 November 2011 12:20:02 Stefano Babic wrote: > >> On 11/05/2011 03:25 PM, Simon Glass wrote: > >> > This corects the warning below, obtained with my gcc 4.6 compiler. > >> > > >> > arch/arm/cpu/armv7/mx5/libmx5.o: In function `decode_pll': > >> > arch/arm/cpu/armv7/mx5/clock.c:94: undefined reference to > >> > `__aeabi_uldivmod' > >> > >> I do not see the issue you reported. > > > > are you using PRIVATE LIBGCC ? > > Yes, perhaps as a side-effect of the buildall script... by design. some arm boards want big endian, some want little. using private allows using of just one gcc. > Since a recent ARM patch to support widen divide was rejected, I > assume that we should use do_div() in these cases? yes, as it involves a 64bit in the division. -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: