From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KGz56-000082-0P for qemu-devel@nongnu.org; Thu, 10 Jul 2008 12:33:20 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KGz54-00005z-B3 for qemu-devel@nongnu.org; Thu, 10 Jul 2008 12:33:19 -0400 Received: from [199.232.76.173] (port=34227 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KGz54-00005i-3L for qemu-devel@nongnu.org; Thu, 10 Jul 2008 12:33:18 -0400 Received: from mail.codesourcery.com ([65.74.133.4]:37103) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KGz53-0005SN-EG for qemu-devel@nongnu.org; Thu, 10 Jul 2008 12:33:17 -0400 From: Paul Brook Subject: Re: [Qemu-devel] RFC: ARM prologue linkage fix Date: Thu, 10 Jul 2008 17:33:07 +0100 References: <200807082143.48545.paul@codesourcery.com> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200807101733.07790.paul@codesourcery.com> Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Blue Swirl > > > I made a patch which allows sparc-linux-user target to be linked on an > > > ARM host. Is this OK? Sparc32 helloworld program runs successfully, > > > otherwise untested. > > Is this version OK then? Should I commit it? Your comment is somewhat ambiguous (all targets use a direct jump, ARM just has tighter restrictions on when that is possible). I suggest: /* The prologue must be reachable with a direct jump. ARM has a limited branch range (possibly also PPC and SPARC?) so place it in a section close to code segment. */ Ok with that change. Paul