Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NLNhy-00010J-Ri for qemu-devel@nongnu.org; Thu, 17 Dec 2009 16:16:26 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NLNht-0000vk-Tl for qemu-devel@nongnu.org; Thu, 17 Dec 2009 16:16:26 -0500 Received: from [199.232.76.173] (port=58910 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NLNht-0000vY-O9 for qemu-devel@nongnu.org; Thu, 17 Dec 2009 16:16:21 -0500 Received: from mailgw1.fjfi.cvut.cz ([147.32.9.3]:58498) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NLNhq-0006Ap-Oa for qemu-devel@nongnu.org; Thu, 17 Dec 2009 16:16:21 -0500 Date: Thu, 17 Dec 2009 22:15:52 +0100 (CET) From: David Kozub Subject: Re: [Qemu-devel] [PATCH] Add SH4 ELF magic into qemu-binfmt-conf.sh. In-Reply-To: <4B2A8A59.7030503@twiddle.net> Message-ID: References: <4B2A8A59.7030503@twiddle.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Richard Henderson Cc: qemu-devel@nongnu.org On Thu, 17 Dec 2009, Richard Henderson wrote: >> ;; >> + sh4) >> + cpu="sh4" >> + ;; > > You don't need this entry. That table is supposed to be for changing the > name. You'd use it if uname returned sh4eb though... Indeed, I got swayed. Then also "m68k" and "i386" are superfluous there. As for sh4eb, AFAIK "uname -m" still returns "sh4" only. This leaves us in a situation similar to mips and arm - we could still want to have qemu for the other endianness. On a side note, why is the mask for e_type 0xfffe, allowing both ET_EXEC and ET_DYN? I.e. when would we need it for shared libraries? Being new here - what should I do about the patch? Send again, with fixes? Best regards, David