From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1D99zs-0000ms-7d for qemu-devel@nongnu.org; Wed, 09 Mar 2005 17:49:45 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1D99zo-0000kv-3b for qemu-devel@nongnu.org; Wed, 09 Mar 2005 17:49:40 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1D99zo-0000ic-01 for qemu-devel@nongnu.org; Wed, 09 Mar 2005 17:49:40 -0500 Received: from [65.74.133.9] (helo=mail.codesourcery.com) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.34) id 1D99fF-0001FY-4C for qemu-devel@nongnu.org; Wed, 09 Mar 2005 17:28:25 -0500 From: Paul Brook Date: Wed, 9 Mar 2005 22:28:22 +0000 MIME-Version: 1.0 Content-Type: Multipart/Mixed; boundary="Boundary-00=_Gi3LCUgBnRfO4K1" Message-Id: <200503092228.22202.paul@codesourcery.com> Subject: [Qemu-devel] [patch] Arm host configure tweaks 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 --Boundary-00=_Gi3LCUgBnRfO4K1 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline The attached patch contains a couple of tweaks to the configure for arm hosts. -fno-omit-frame-pointer forces gcc to generate the standard prologue/epilogue as required by dyngen. I think this was the default for older GCCs. It also relaxes the patterns used to recognise arm hosts. In particular 'uname -m' reports "armv5tel" under qemu :-) Paul --Boundary-00=_Gi3LCUgBnRfO4K1 Content-Type: text/x-diff; charset="us-ascii"; name="patch.qemu_arm_host" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="patch.qemu_arm_host" Index: Makefile.target =================================================================== RCS file: /cvsroot/qemu/qemu/Makefile.target,v retrieving revision 1.59 diff -u -p -r1.59 Makefile.target --- Makefile.target 1 Mar 2005 21:37:28 -0000 1.59 +++ Makefile.target 9 Mar 2005 22:09:21 -0000 @@ -188,7 +188,7 @@ OP_CFLAGS=$(CFLAGS) endif ifeq ($(ARCH),arm) -OP_CFLAGS=$(CFLAGS) -mno-sched-prolog +OP_CFLAGS=$(CFLAGS) -mno-sched-prolog -fno-omit-frame-pointer LDFLAGS+=-Wl,-T,$(SRC_PATH)/arm.ld endif Index: configure =================================================================== RCS file: /cvsroot/qemu/qemu/configure,v retrieving revision 1.59 diff -u -p -r1.59 configure --- configure 1 Mar 2005 22:30:41 -0000 1.59 +++ configure 9 Mar 2005 22:09:22 -0000 @@ -32,10 +32,10 @@ case "$cpu" in i386|i486|i586|i686|i86pc|BePC) cpu="i386" ;; - armv4b) + armv*b) cpu="armv4b" ;; - armv4l) + armv*l) cpu="armv4l" ;; alpha) --Boundary-00=_Gi3LCUgBnRfO4K1--