[U-Boot] [PATCH 2/6] S5PC100: SMDKC100 Board support

Minkyu Kang promsoft at gmail.com
Mon Jul 20 13:15:37 CEST 2009


Dear Wolfgang,

2009/7/18 Wolfgang Denk <wd at denx.de>:
> Dear Minkyu Kang,
>
> In message <1f3430fb0907170142l51139f76jed37a47f7760f51e at mail.gmail.com> you wrote:
>>
>> >> +void raise(void)
>> >> +{
>> >> +}
>> >
>> > Why would that be needed?
>>
>> Actually this function is workaround.
>> because of undefined reference error
>>
>> /opt/toolchains/arm-2008q3/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.2/libgcc.a(_dvmd_lnx.o):
>> In function `__aeabi_ldiv0':
>> (.text+0x8): undefined reference to `raise'
>>
>> I want to solve it but can't find the reason yet.
>> How i can fix this problem?
>
> Find out which part of your code triggers the use of the  _dvmd_lnx.o
> code  and  avoid  this;  from  the  error message it seems to be some
> (long) division.

yes, we tried it.
but, can't find about it...

Omap3 also has raise function at cpu/arm_cortexa8/omap3/board.c(303 line)
I think this is a matter of coretexA8, and want to use this workaround function
until fix the problem.
how you think?

Thanks.
Minkyu Kang

-- 
from. prom.
www.promsoft.net


More information about the U-Boot mailing list