From: Tom Rini <trini@ti.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH V6] [RESEND] ARM: prevent misaligned array inits
Date: Mon, 15 Oct 2012 11:48:52 -0700 [thread overview]
Message-ID: <20121015184852.GF25082@bill-the-cat> (raw)
In-Reply-To: <1349810895-25809-1-git-send-email-albert.u.boot@aribaud.net>
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, and for
> files known to contain such initializations, enforce gcc
> option -mno-unaligned-access.
>
> Signed-off-by: Albert ARIBAUD <albert.u.boot@aribaud.net>
> ---
> V6: Make sure that gcc does not silently drop -mno-unaligned-access
> if it does not support it.
OK, you were correct. We need to use cc-option since older compilers
which were not causing issues don't support it either, making this
workable. I will just fix this in-line rather than make you do a v7.
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20121015/2ce1ce8d/attachment.pgp>
prev parent reply other threads:[~2012-10-15 18:48 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-10-04 21:49 [U-Boot] [PATCH] ARM: prevent misaligned array inits Albert ARIBAUD
2012-10-05 19:15 ` [U-Boot] [PATCH V2] " Albert ARIBAUD
2012-10-08 11:21 ` Andreas Bießmann
2012-10-08 14:36 ` Albert ARIBAUD
2012-10-08 14:56 ` Andreas Bießmann
2012-10-08 18:52 ` Albert ARIBAUD
2012-10-08 19:19 ` [U-Boot] [PATCH V3] " Albert ARIBAUD
2012-10-08 19:31 ` Tom Rini
2012-10-08 19:50 ` [U-Boot] [PATCH V4] " Albert ARIBAUD
2012-10-09 18:34 ` Tom Rini
2012-10-09 18:42 ` Albert ARIBAUD
2012-10-09 18:59 ` Tom Rini
2012-10-09 19:08 ` [U-Boot] [PATCH V5] " Albert ARIBAUD
2012-10-09 19:23 ` [U-Boot] [PATCH] " Albert ARIBAUD
2012-10-09 19:27 ` [U-Boot] [PATCH] ARM: prevent misaligned array inits -- PLEASE DISREGARD Albert ARIBAUD
2012-10-09 19:28 ` [U-Boot] [PATCH V6] [RESEND] ARM: prevent misaligned array inits Albert ARIBAUD
2012-10-14 8:48 ` Albert ARIBAUD
2012-10-15 5:05 ` Tom Rini
2012-10-15 7:17 ` Albert ARIBAUD
2012-10-15 18:48 ` Tom Rini [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20121015184852.GF25082@bill-the-cat \
--to=trini@ti.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox