Re: [U-Boot] [PATCH V6] [RESEND] ARM: prevent misaligned array inits

2012-10-15 Thread Tom Rini
On Tue, Oct 09, 2012 at 09:28:15PM +0200, Albert ARIBAUD wrote: > Under option -munaligned-access, gcc can perform local char > or 16-bit array initializations using misaligned native > accesses which will throw a data abort exception. Fix files > where these array initializations were unneeded, an

Re: [U-Boot] [PATCH V6] [RESEND] ARM: prevent misaligned array inits

2012-10-15 Thread Albert ARIBAUD
Hi Tom, On Sun, 14 Oct 2012 22:05:15 -0700, Tom Rini wrote: > On Sun, Oct 14, 2012 at 1:48 AM, Albert ARIBAUD > wrote: > > On Tue, 9 Oct 2012 21:28:15 +0200, Albert ARIBAUD > > wrote: > > > >> Under option -munaligned-access, gcc can perform local char > >> or 16-bit array initializations usi

Re: [U-Boot] [PATCH V6] [RESEND] ARM: prevent misaligned array inits

2012-10-14 Thread Tom Rini
On Sun, Oct 14, 2012 at 1:48 AM, Albert ARIBAUD wrote: > On Tue, 9 Oct 2012 21:28:15 +0200, Albert ARIBAUD > wrote: > >> Under option -munaligned-access, gcc can perform local char >> or 16-bit array initializations using misaligned native >> accesses which will throw a data abort exception. Fix

Re: [U-Boot] [PATCH V6] [RESEND] ARM: prevent misaligned array inits

2012-10-14 Thread Albert ARIBAUD
On Tue, 9 Oct 2012 21:28:15 +0200, Albert ARIBAUD wrote: > Under option -munaligned-access, gcc can perform local char > or 16-bit array initializations using misaligned native > accesses which will throw a data abort exception. Fix files > where these array initializations were unneeded, and fo

[U-Boot] [PATCH V6] [RESEND] ARM: prevent misaligned array inits

2012-10-09 Thread Albert ARIBAUD
Under option -munaligned-access, gcc can perform local char or 16-bit array initializations using misaligned native accesses which will throw a data abort exception. Fix files where these array initializations were unneeded, and for files known to contain such initializations, enforce gcc option -m