From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1ULxPS-0003CZ-PG for mharc-grub-devel@gnu.org; Sat, 30 Mar 2013 11:09:34 -0400 Received: from eggs.gnu.org ([208.118.235.92]:45672) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ULxPO-0003C1-97 for grub-devel@gnu.org; Sat, 30 Mar 2013 11:09:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ULxPI-0001U7-3G for grub-devel@gnu.org; Sat, 30 Mar 2013 11:09:30 -0400 Received: from mail-ea0-x22d.google.com ([2a00:1450:4013:c01::22d]:35652) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ULxPH-0001Tq-Tb for grub-devel@gnu.org; Sat, 30 Mar 2013 11:09:24 -0400 Received: by mail-ea0-f173.google.com with SMTP id k11so536028eaj.18 for ; Sat, 30 Mar 2013 08:09:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:message-id:date:from:user-agent:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=gN2eF9G0agt30hyhrYisW/CTCXsN51IUTaTj7op0GDY=; b=jmIuly6PjNJgwmK8M8r+W1jUUedDkvi9P1ggY94me59m1M2m8A02XdFBsngmyFyInQ 8onA61DbPnc5E0DWzwW+dPKn6+gJM0gkWsv4fjItx5XIkluqu4vUiFgue/MJd52bcyL+ uO14ZMaSdCq9tKJzYN0jfbSSFAQbmr0P5nQDGV1yiQUVd6MyH83QOMuaVRXhMJvGWXPe drA2OtXHTU2n8Y2ocg0Be/xQtENbn4W5KI8BVXwdpmhgTuPUh3H2YvK1MI9ExaRRuEV+ 0EcrW7SBWd8/vkSpokd3KreLyPdd+YpEBZWk6mtsmh95TSMeUqgC+9MjftDE/BsRcn51 LCSQ== X-Received: by 10.15.32.67 with SMTP id z43mr19078043eeu.24.1364656162618; Sat, 30 Mar 2013 08:09:22 -0700 (PDT) Received: from [192.168.56.2] ([81.81.226.53]) by mx.google.com with ESMTPS id h5sm10517926eem.1.2013.03.30.08.09.21 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 30 Mar 2013 08:09:21 -0700 (PDT) Message-ID: <51570028.8090202@gmail.com> Date: Sat, 30 Mar 2013 16:09:28 +0100 From: Francesco Lavra User-Agent: Mozilla/5.0 (X11; Linux i686; rv:7.0.1) Gecko/20110929 Thunderbird/7.0.1 MIME-Version: 1.0 To: grub-devel@gnu.org Subject: Re: [PATCH 1/7] ARM/U-Boot basic build system additions References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4013:c01::22d X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 30 Mar 2013 15:09:33 -0000 Hi, On 03/24/2013 06:01 PM, Leif Lindholm wrote: > === modified file 'conf/Makefile.common' > --- conf/Makefile.common 2013-03-03 14:57:30 +0000 > +++ conf/Makefile.common 2013-03-24 11:00:29 +0000 > @@ -37,6 +37,13 @@ > CFLAGS_PLATFORM += -mno-app-regs > LDFLAGS_PLATFORM = -Wl,-melf64_sparc -mno-relax > endif > +if COND_arm > +# Image entry point always in ARM (A32) state - ensure proper functionality if > +# the rest is built for the Thumb (T32) state. > + CFLAGS_PLATFORM += -mthumb-interwork -mno-unaligned-access -mlong-calls > + CCASFLAGS_PLATFORM = -Wa,-mimplicit-it=thumb The -mimplicit-it=thumb assembler option is generally frowned upon and is used mostly to convert existing pieces of code from ARM to Thumb encoding. Since you are writing new code, it's better to avoid this option and manually insert IT instructions in the assembly where appropriate. > + LDFLAGS_PLATFORM = -Wl,--wrap=__clear_cache > +endif > > # Other options > --Francesco