From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:47800) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZGRJJ-0007KN-O9 for qemu-devel@nongnu.org; Sat, 18 Jul 2015 08:33:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZGRJG-0006Gk-Di for qemu-devel@nongnu.org; Sat, 18 Jul 2015 08:33:45 -0400 Received: from mail-wi0-x22c.google.com ([2a00:1450:400c:c05::22c]:33306) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZGRJG-0006Ge-7H for qemu-devel@nongnu.org; Sat, 18 Jul 2015 08:33:42 -0400 Received: by widic2 with SMTP id ic2so56481923wid.0 for ; Sat, 18 Jul 2015 05:33:41 -0700 (PDT) Sender: Paolo Bonzini References: <5e6c072d422f7d17a5815734159bf6b8bb6c8818.1437212383.git.crosthwaite.peter@gmail.com> From: Paolo Bonzini Message-ID: <55AA47A1.80609@redhat.com> Date: Sat, 18 Jul 2015 14:33:37 +0200 MIME-Version: 1.0 In-Reply-To: <5e6c072d422f7d17a5815734159bf6b8bb6c8818.1437212383.git.crosthwaite.peter@gmail.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH v3 28/35] arm: Remove ELF_MACHINE from cpu.h List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Crosthwaite , qemu-devel@nongnu.org Cc: peter.maydell@linaro.org, rth@twiddle.net, edgar.iglesias@gmail.com, afaerber@suse.de, Peter Crosthwaite On 18/07/2015 11:40, Peter Crosthwaite wrote: > From: Peter Crosthwaite > > The only generic code relying on this is linux-user. Linux user already > has a lot of #ifdef TARGET_ customisation so just define ELF_MACHINE > locally there. > > The armv7m bootloader can just pass EM_ARM directly, as that > is architecture specific code. > > This remove another architecture specific definition from the global > namespace. > > Signed-off-by: Peter Crosthwaite Would be nice to do this for all targets... O:-) Paolo