From: Paul Brook <paul@codesourcery.com>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] [patch] Arm host configure tweaks
Date: Wed, 9 Mar 2005 22:28:22 +0000 [thread overview]
Message-ID: <200503092228.22202.paul@codesourcery.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 352 bytes --]
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
[-- Attachment #2: patch.qemu_arm_host --]
[-- Type: text/x-diff, Size: 968 bytes --]
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)
reply other threads:[~2005-03-09 22:49 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200503092228.22202.paul@codesourcery.com \
--to=paul@codesourcery.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).