SH and MIPS need memalign too
|Reported by:||SF/mlau2||Owned by:||fingolfin|
Here's a simple patch to force memalign for SH and MIPS target processors. It's not stricly needed for both since a) SH kernel will emulate the unaligned read (slooooow) b) MIPS does not complain at all but aligned reads/writes are faster.
Run-tested on SH-4 and MIPSEL targets running linux and QNX.
Ticket imported from: #1596959. Ticket imported from: patches/695.