From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:39196) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RvSxv-0006fm-Ja for qemu-devel@nongnu.org; Thu, 09 Feb 2012 07:19:13 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RvSxk-0004qo-GI for qemu-devel@nongnu.org; Thu, 09 Feb 2012 07:19:07 -0500 Received: from relay1.mentorg.com ([192.94.38.131]:64024) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RvSxj-0004qV-UV for qemu-devel@nongnu.org; Thu, 09 Feb 2012 07:18:56 -0500 From: Paul Brook Date: Thu, 9 Feb 2012 12:18:48 +0000 References: In-Reply-To: MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-6" Content-Transfer-Encoding: 7bit Message-Id: <201202091218.48810.paul@codesourcery.com> Subject: Re: [Qemu-devel] how to run a application compiled for sparc platform using qemu-sparc? List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Dylan <364481568@qq.com> > the results of readelf -l hello are as follow: > program headers: > TYPE offset virtAddr phyAddr FileSiz > MemSiz LOAD 0x054 0x4000 0000 0x4000 0000 0x02bf0 > 0x02bf0 Clearly not a linux binary. Those have file offsets and virtual addresses aligned modulo page size so that they can be mmapped directly into the process address space. I'm pretty sure this would fail in the same way on a real sparc-linux system. Paul