rpms/qemu/devel qemu-0.7.0-build.patch, NONE, 1.1 qemu-0.7.0-ppc-functions-end-in-branch.patch, NONE, 1.1 .cvsignore, 1.2, 1.3 qemu.spec, 1.4, 1.5 sources, 1.2, 1.3 qemu-0.6.1-build.patch, 1.1, NONE

David Woodhouse (dwmw2) fedora-extras-commits at redhat.com
Sat Apr 30 11:34:54 UTC 2005


Author: dwmw2

Update of /cvs/extras/rpms/qemu/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv17267

Modified Files:
	.cvsignore qemu.spec sources 
Added Files:
	qemu-0.7.0-build.patch 
	qemu-0.7.0-ppc-functions-end-in-branch.patch 
Removed Files:
	qemu-0.6.1-build.patch 
Log Message:
0.7.0

qemu-0.7.0-build.patch:

--- NEW FILE qemu-0.7.0-build.patch ---
--- qemu-0.7.0/Makefile.orig	2005-04-27 21:52:05.000000000 +0100
+++ qemu-0.7.0/Makefile	2005-04-30 11:01:41.000000000 +0100
@@ -1,6 +1,6 @@
 -include config-host.mak
 
-CFLAGS=-Wall -O2 -g -fno-strict-aliasing 
+CFLAGS=$(RPM_OPT_FLAGS) -Wall -fno-strict-aliasing 
 ifdef CONFIG_DARWIN
 CFLAGS+= -mdynamic-no-pic
 endif
--- qemu-0.7.0/Makefile.target.orig	2005-04-27 21:52:05.000000000 +0100
+++ qemu-0.7.0/Makefile.target	2005-04-30 11:03:59.000000000 +0100
@@ -14,7 +14,7 @@
 VPATH+=:$(SRC_PATH)/linux-user
 DEFINES+=-I$(SRC_PATH)/linux-user -I$(SRC_PATH)/linux-user/$(TARGET_ARCH)
 endif
-CFLAGS=-Wall -O2 -g -fno-strict-aliasing
+CFLAGS=$(RPM_OPT_FLAGS) -Wall -fno-strict-aliasing
 #CFLAGS+=-Werror
 LDFLAGS=-g
 LIBS=
@@ -177,7 +177,7 @@
 ifeq ($(ARCH),alpha)
 # -msmall-data is not used because we want two-instruction relocations
 # for the constant constructions
-OP_CFLAGS=-Wall -O2 -g
+OP_CFLAGS=$(RPM_OPT_FLAGS) -Wall
 # Ensure there's only a single GP
 CFLAGS += -msmall-data
 LDFLAGS+=-Wl,-T,$(SRC_PATH)/alpha.ld
@@ -463,7 +463,7 @@
 
 install: all 
 ifneq ($(PROGS),)
-	install -m 755 -s $(PROGS) "$(bindir)"
+	install -m 755 $(PROGS) "$(bindir)"
 endif
 
 ifneq ($(wildcard .depend),)

qemu-0.7.0-ppc-functions-end-in-branch.patch:

--- NEW FILE qemu-0.7.0-ppc-functions-end-in-branch.patch ---
--- qemu-0.7.0/dyngen.c.orig	2005-04-30 11:59:05.000000000 +0100
+++ qemu-0.7.0/dyngen.c	2005-04-30 12:00:11.000000000 +0100
@@ -1396,11 +1395,13 @@ void gen_code(const char *name, host_ulo
 #elif defined(HOST_PPC)
     {
         uint8_t *p;
+        uint32_t insn;
         p = (void *)(p_end - 4);
         if (p == p_start)
             error("empty code for %s", name);
-        if (get32((uint32_t *)p) != 0x4e800020)
-            error("blr expected at the end of %s", name);
+        insn = get32((uint32_t *)p);
+        if (insn != 0x4e800020 && (insn & 0xfc000002) != 0x48000000)
+            error("blr or b expected at the end of %s", name);
         copy_size = p - p_start;
     }
 #elif defined(HOST_S390)


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/qemu/devel/.cvsignore,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- .cvsignore	13 Feb 2005 12:57:23 -0000	1.2
+++ .cvsignore	30 Apr 2005 11:34:52 -0000	1.3
@@ -1 +1 @@
-qemu-0.6.1.tar.gz
+qemu-0.7.0.tar.gz


Index: qemu.spec
===================================================================
RCS file: /cvs/extras/rpms/qemu/devel/qemu.spec,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- qemu.spec	6 Apr 2005 22:13:31 -0000	1.4
+++ qemu.spec	30 Apr 2005 11:34:52 -0000	1.5
@@ -1,14 +1,15 @@
 Summary: QEMU is a FAST! processor emulator
 Name: qemu
-Version: 0.6.1
-Release: 3
+Version: 0.7.0
+Release: 1
 
 License: GPL/LGPL
 Group: Development/Tools
 URL: http://fabrice.bellard.free.fr/qemu
 Source0: http://fabrice.bellard.free.fr/qemu/%{name}-%{version}.tar.gz
 Source1: qemu.init
-Patch0: qemu-0.6.1-build.patch
+Patch0: qemu-0.7.0-build.patch
+Patch1: qemu-0.7.0-ppc-functions-end-in-branch.patch
 BuildRoot: %{_tmppath}/%{name}-%{version}-root
 BuildRequires: SDL-devel
 PreReq: /sbin/chkconfig
@@ -24,7 +25,7 @@
    endianness and 32/64 bit mismatches. Wine (Windows emulation) and DOSEMU
    (DOS emulation) are the main targets for QEMU.
  * Full system emulation. In this mode, QEMU emulates a full system, including
-   a processor and various peripherials. Currently, it is only used to launch
+   a processor and various peripherals. Currently, it is only used to launch
    an x86 Linux kernel on an x86 Linux system. It enables easier testing and
    debugging of system code. It can also be used to provide virtual hosting
    of several virtual PC on a single server.
@@ -34,6 +35,7 @@
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
 
 %build
 ./configure --prefix=%{_prefix} --interp-prefix=%{_prefix}/qemu-%%M
@@ -67,13 +69,17 @@
 %defattr(-,root,root)
 %doc Changelog README README.distrib TODO
 %doc qemu-tech.texi qemu-doc.texi
-%doc linux-2.6-qemu-fast.patch *.html
+%doc *.html
 %{_bindir}/qemu*
 %{_prefix}/share/qemu
 %{_mandir}/man?/*
 %config %{_sysconfdir}/rc.d/init.d/qemu
 
 %changelog
+* Sat Apr 30 2005 David Woodhouse <dwmw2 at infradead.org> .0.7.0-1
+- Update to 0.7.0
+- Fix dyngen for PPC functions which end in unconditional branch
+
 * Fri Apr  7 2005 Michael Schwendt <mschwendt[AT]users.sf.net>
 - rebuilt
 


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/qemu/devel/sources,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- sources	13 Feb 2005 12:57:23 -0000	1.2
+++ sources	30 Apr 2005 11:34:52 -0000	1.3
@@ -1 +1 @@
-f1b5e103321832d2786dd4110f6c8ae4  qemu-0.6.1.tar.gz
+234e9ace03b00259bb57dc5a9c633056  qemu-0.7.0.tar.gz


--- qemu-0.6.1-build.patch DELETED ---




More information about the scm-commits mailing list