[U-Boot] [PATCH] [OLT-M68K] Avoid 64bit division in print_size
Luigi 'Comio' Mantellini
luigi.mantellini at idf-hit.com
Wed May 26 18:30:04 CEST 2010
I'm sorry! my tree is out of date (2010/05/15) :)
I'm using the toolchain coldfire-4.4 from Codesourcery (Sourcery G++ Lite
4.4-217)
Today I tried to build the cf547x_8x target and I noticed a div by 0 issue on
the __udivdi3 (n = size / d) ... I checked the operands that were ok, but I
wasn't able to understand the real problem. In order to avoid the (bugged?)
__udivdi3 call I wrote this workaroud. Any idea regarding this issue?
Of course, avoiding the __udivdi3 call, the u-boot works fine.
best regards,
luigi
mercoledì 26 maggio 2010 17:32 Timur Tabi <timur.tabi at gmail.com> ha scritto:
> On Wed, May 26, 2010 at 9:01 AM, Luigi 'Comio' Mantellini
>
> <luigi.mantellini at idf-hit.com> wrote:
> > Signed-off-by: Luigi 'Comio' Mantellini <luigi.mantellini at idf-hit.com>
> > ---
>
> You're a little late:
>
> http://git.denx.de/?p=u-boot.git;a=commit;h=f2d76ae4fdde180e120ea2d29d6ef88
> 1360b3cba
--
Luigi 'Comio' Mantellini
R&D - Software
Industrie Dial Face S.p.A.
Via Canzo, 4
20068 Peschiera Borromeo (MI) Italy
Tel.: +39 02 5167 2813
Fax: +39 02 5167 2459
E-mail: luigi.mantellini at idf-hit.com
Website: http://www.idf-hit.com
Questo messaggio e i suoi allegati sono indirizzati esclusivamente alle
persone indicate. La diffusione, copia o qualsiasi altra azione derivante dalla
conoscenza di queste informazioni sono rigorosamente vietate. Qualora abbiate
ricevuto questo documento per errore siete cortesemente pregati di darne
immediata comunicazione al mittente e di provvedere alla sua distruzione,
Grazie.
Rispetta l'ambiente. Non stampare questa mail se non è realmente necessario.
This e-mail and any attachments is confidential and may contain privileged
information intended for the addressee(s) only. Dissemination, copying,
printing or use by anybody else is unauthorized. If you are not the intended
recipient, please delete this message and any attachments and advise the
sender by return e-mail, Thanks.
Help the environment. Please do not print this email unless it is absolutely
necessary.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 8922 bytes
Desc: not available
Url : http://lists.denx.de/pipermail/u-boot/attachments/20100526/d526a579/attachment.png
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
Url : http://lists.denx.de/pipermail/u-boot/attachments/20100526/d526a579/attachment.pgp
More information about the U-Boot
mailing list