Crash on LE CPUs with alignement issues
|Reported by:||SF/bbrox||Owned by:|
On the iPAQ (Little-endian based with ARM CPU), memory
accesses NEED to be aligned.
By doing some hacks (ie checking on all READ_LE_UINT16
and READ_LE_UINT32 inline functions if the pointer is
correctly aligned), I changed a LOT of these function
calls to the (newly created) READ_LE_UINT16_UNALIGNED
Now, I wonder if by default, on platform like the ARM,
the default should not be 'unaligned'...
Or is there really some places where we are sure to be
Ticket imported from: #478437. Ticket imported from: bugs/18.