double word ordering on little endian

Christopher Taylor chtaylo3 at gmail.com
Thu Jun 5 00:09:05 UTC 2008


arm5 (Atmel at91).  As far as vfp vs fpa, I'm using the 'default' from
buildroot with gcc 4.2.1.  Not sure how this is set inside
buildroot/uclibc.

The previous developer on this task was using an older version of
buildroot with gcc 3.4.6.

Any thoughts?

Thank you for your help!

-Chris

On Wed, Jun 4, 2008 at 7:28 PM, Khem Raj <raj.khem at gmail.com> wrote:
> Christopher Taylor wrote:
>> For some reason when I examine the bytes of a double i'm getting the
>> words swapped
>>
>> double = 2.048;
>>
>> on big endian:
>> 4000 624d d2f1 a9fc
>>
>> what I'm getting on little endian:
>> 4d62 0040 fca9 f1d2
>>
>> what I'm expecting based on somone elses build (and my understanding
>> of little vs big endian):
>> fca9 f1d2 4d62 0040
>>
>>
>> Any guidance would be appreciated!
>
> What architecture is it on. if ARM what float format are you using vfp or fpa
>
>>
>> -Chris
>> _______________________________________________
>> uClibc mailing list
>> uClibc at uclibc.org
>> http://busybox.net/cgi-bin/mailman/listinfo/uclibc
>>
>
>



More information about the uClibc mailing list