From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mike Frysinger Date: Thu, 19 Jul 2012 00:29:23 -0400 Subject: [U-Boot] [PATCH] arm: armv7: add compile option -mno-unaligned-access if available In-Reply-To: References: <1338918451-10126-1-git-send-email-dev@lynxeye.de> <1341242168.1392.2.camel@tellur> Message-ID: <201207190029.25734.vapier@gentoo.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Monday 02 July 2012 12:14:40 M?ns Rullg?rd wrote: > It's slightly more complicated than that. Data can be misaligned for a > variety of reasons: > > 1. Errors in software. > 2. Specified by a file format or communication protocol. > 3. Deliberately misaligned by the compiler. > > Misaligned data of type 1 should of course be fixed properly, not worked > around in any way. it's also a reliability aspect. people don't write bug free software, not bug free protocols, nor bug free compilers. when misalignment does happen in the field, it's a hell of a lot better if the software continued to execute correctly rather than randomly triggered an exception. -mike -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: This is a digitally signed message part. URL: