Re: [U-Boot] [PATCH 1/2] exynos: Correct use of 64-bit division

2013-04-16 Thread Minkyu Kang
On 13/04/13 23:26, Simon Glass wrote: > The current code is causing errors like this on my toolchains: > > /usr/x86_64-pc-linux-gnu/armv7a-cros-linux-gnueabi/binutils-bin/2.22/ > ld.bfd.real: failed to merge target specific data of file /usr/lib/gcc/ > armv7a-cros-linux-gnueabi/4.7.x-google/libgcc

[U-Boot] [PATCH 1/2] exynos: Correct use of 64-bit division

2013-04-13 Thread Simon Glass
The current code is causing errors like this on my toolchains: /usr/x86_64-pc-linux-gnu/armv7a-cros-linux-gnueabi/binutils-bin/2.22/ ld.bfd.real: failed to merge target specific data of file /usr/lib/gcc/ armv7a-cros-linux-gnueabi/4.7.x-google/libgcc.a(_divdi3.o) Use do_div() to avoid this. Sign