[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH] Fix Sparc32/64 branch distance calculation, GCC and

From: Blue Swirl
Subject: [Qemu-devel] [PATCH] Fix Sparc32/64 branch distance calculation, GCC and GDB works!
Date: Tue, 20 Jun 2006 17:59:42 +0200

I found out why cc1 and also GDB had a segfault after I fixed the user emulator. Branch distances over 1MB were not calculated correctly, shift operation was done before sign extension. That made the 1MB branches negative, and probably corrupted 2MB branches.

Now I can compile some programs either using the user emulator or inside the system emulator, debugging with GDB works as well! If only Qemu worked on Sparc32, we could try if Qemu can be used to compile itself.

Don't just search. Find. Check out the new MSN Search! http://search.msn.com/

Attachment: sparc-branch.diff.bz2
Description: Binary data

reply via email to

[Prev in Thread] Current Thread [Next in Thread]