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

Wolfgang Denk wd at denx.de
Fri Jul 17 23:49:25 CEST 2009


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.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
The C-shell doesn't parse. It adhoculates.
    - Casper.Dik at Holland.Sun.COM in <3ol96k$b2j at engnews2.Eng.Sun.COM>


More information about the U-Boot mailing list