From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:36896) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eboNW-0007Ic-Dy for qemu-devel@nongnu.org; Wed, 17 Jan 2018 09:07:50 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eboNR-0002Cg-Ly for qemu-devel@nongnu.org; Wed, 17 Jan 2018 09:07:46 -0500 Received: from mail-pf0-x244.google.com ([2607:f8b0:400e:c00::244]:36939) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eboNR-0002CE-Ee for qemu-devel@nongnu.org; Wed, 17 Jan 2018 09:07:41 -0500 Received: by mail-pf0-x244.google.com with SMTP id p1so11604226pfh.4 for ; Wed, 17 Jan 2018 06:07:41 -0800 (PST) References: <20180116222212.1266-1-laurent@vivier.eu> <20180116222212.1266-4-laurent@vivier.eu> From: Richard Henderson Message-ID: Date: Wed, 17 Jan 2018 06:07:36 -0800 MIME-Version: 1.0 In-Reply-To: <20180116222212.1266-4-laurent@vivier.eu> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH v3 3/4] linux-user, m68k: select CPU according to ELF header values List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Laurent Vivier , qemu-devel@nongnu.org Cc: Aaron Sierra , YunQiang Su , Riku Voipio , =?UTF-8?Q?Philippe_Mathieu-Daud=c3=a9?= , Peter Maydell On 01/16/2018 02:22 PM, Laurent Vivier wrote: > M680x0 doesn't support the same set of instructions > as ColdFire, so we can't use "any" CPU type to execute > m68020 instructions. > We select CPU type ("m68040" or "any" for ColdFire) > according to the ELF header. If we can't, we > use by default the value used until now: "any". > > Signed-off-by: Laurent Vivier > --- Reviewed-by: Richard Henderson r~