[PATCH] arm: Disable unaligned access if MMU is switched off

Andrey Smirnov andrew.smirnov at gmail.com
Tue Sep 29 10:53:17 PDT 2015


>
> Even with MMU enabled in the config we still run some initial portions
> of the code with MMU disabled, so it seems safer to enable this option
> unconditionally.
> On the other hand disabling unaligned accesses makes the image around
> 1.5% bigger (tested with imx_v7_defconfig), so the compiler really makes
> use of this option.
> Ok, better safe than sorry, so I vote for always passing
> -mno-unaligned-accesses.

OK, sounds good, I'll update the patch and send the second version shortly.

>
> Sascha
>
> --
> Pengutronix e.K.                           |                             |
> Industrial Linux Solutions                 | http://www.pengutronix.de/  |
> Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
> Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list