From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail.cvg.de ([62.153.82.30]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1TgDNr-00004x-KV for barebox@lists.infradead.org; Wed, 05 Dec 2012 11:43:25 +0000 From: Enrico Scholz References: <1354622569-7673-1-git-send-email-enrico.scholz@sigma-chemnitz.de> <1354622569-7673-2-git-send-email-enrico.scholz@sigma-chemnitz.de> <20121205104627.GD10369@pengutronix.de> Date: Wed, 05 Dec 2012 12:43:17 +0100 In-Reply-To: (Enrico Scholz's message of "Wed, 05 Dec 2012 12:33:26 +0100") Message-ID: MIME-Version: 1.0 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: barebox-bounces@lists.infradead.org Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: Re: [PATCH 2/2] OMAP: disable unaligned access when building the IFT To: Sascha Hauer Cc: barebox@lists.infradead.org Enrico Scholz writes: >>> commit b823fd9ba56d56e3cbb5b05e7a4815fb0914204a >>> Author: Albert ARIBAUD >>> 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@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox