From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IsngO-0008S6-6Z for qemu-devel@nongnu.org; Thu, 15 Nov 2007 17:59:36 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IsngN-0008Qx-DN for qemu-devel@nongnu.org; Thu, 15 Nov 2007 17:59:35 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IsngN-0008Qj-9R for qemu-devel@nongnu.org; Thu, 15 Nov 2007 17:59:35 -0500 Received: from mail.codesourcery.com ([65.74.133.4]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1IsnXk-00030m-Ry for qemu-devel@nongnu.org; Thu, 15 Nov 2007 17:50:41 -0500 From: Paul Brook Subject: Re: [Qemu-devel] Alpha build failure: dyngen picking out a nameless symbol Date: Thu, 15 Nov 2007 22:50:31 +0000 References: <473A9DED.6020308@shaddybaddah.name> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200711152250.33783.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 > So gcc puts the zero constant to .rodata.cst8 and generates code to > load the zero value from this location. This method is not supported > by dyngen for Sparc, but ARM uses similar method for all (?) > constants. Not quite. ARM puts constant pools inline with the code, not in rodata. This is a fairly fundamental property of the arm architecture. Unlike most other risc architectures arm does not really have any other mechanism for loading addresses/large values. Dyngen has a nontrivial amount of special code to handle this. Paul