]> git.sur5r.net Git - u-boot/commit
arm: kzm9g: Fix undefined reference to `__aeabi_uldivmod' error
authorNobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
Thu, 28 Nov 2013 08:52:46 +0000 (17:52 +0900)
committerNobuhiro Iwamatsu <iwamatsu@nigauri.org>
Tue, 3 Dec 2013 00:47:08 +0000 (09:47 +0900)
commit7579751c14326f939dc24c1fbbc3e84572626248
tree23bba61f4cc1cfe16bef32f8593906918e4674f2
parent1251e4903052a55a6db9576f29d11e2d7743fbde
arm: kzm9g: Fix undefined reference to `__aeabi_uldivmod' error

The kzm9g board fails in building with -march=armv7-a.
This fixs this problem by converting to do_div().

-----
USE_PRIVATE_LIBGCC=yes ./MAKEALL kzm9g
...
arch/arm/cpu/armv7/rmobile/librmobile.o: In function `get_time_us':
arch/arm/cpu/armv7/rmobile/timer.c:41: undefined reference to `__aeabi_uldivmod'
arch/arm/cpu/armv7/rmobile/librmobile.o: In function `get_time_ms':
arch/arm/cpu/armv7/rmobile/timer.c:47: undefined reference to `__aeabi_uldivmod'
-----

Signed-off-by: Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
CC: Tetsuyuki Kobayashi <koba@kmckk.co.jp>
arch/arm/cpu/armv7/rmobile/timer.c