* [Qemu-devel] [patch] Arm host configure tweaks
@ 2005-03-09 22:28 Paul Brook
0 siblings, 0 replies; only message in thread
From: Paul Brook @ 2005-03-09 22:28 UTC (permalink / raw)
To: qemu-devel
[-- 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)
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-03-09 22:49 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-03-09 22:28 [Qemu-devel] [patch] Arm host configure tweaks Paul Brook
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).