Re: [PATCH 2/2] OMAP: disable unaligned access when building the IFT

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Enrico Scholz <enrico.scholz@xxxxxxxxxxxxxxxxx> writes:

>>> commit b823fd9ba56d56e3cbb5b05e7a4815fb0914204a
>>> Author: Albert ARIBAUD <albert.u.boot@xxxxxxxxxxx>
>>> Date:   Tue Oct 9 09:28:15 2012 +0000
>>>     ARM: prevent misaligned array inits
>> ...
>> This patch explicitely mentions char arrays initialized on the stack
>> like this:
>
> I do not know the backgrounds of this patch but without additional
> context, I think it is wrong.

ah... found it:

 | be  actually unnecessary. In order to catch these accesses and remove
 | or optimize them, option -munaligned-access is explicitly set for all
 | versions of gcc which support it.

e.g. u-boot sets '-munaligned-access' unconditionally which is imo
silly. And now, they are trying to fix this mess by compiling single
files with '-mno-unaligned-access'...



Enrico

_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox


[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux