qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] Alpha update


From: Falk Hueffner
Subject: [Qemu-devel] Alpha update
Date: 11 May 2003 03:41:45 +0200
User-agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.5 (cabbage)

Hi,

this patch does gp and __op_param handling correctly, following a
suggestion from Richard Henderson. Also adds support for PC-relative
jumps. I believe the translation engine itself is now complete. And I
added an Alpha disassembler lifted from binutils.

However, there are still problems with the ELF loader. It seems like
some binaries want a mmaping at an offset that is not divisible by the
page size:

./qemu -d /usr/local/qemu-i386/bin/ls-i386
[...]
mmap4k(start = 0x8052000, length = 592, prot = 0x3 (rw),
       flags = 0x2102 (MAP_FIXED | MAP_PRIVATE | MAP_DENYWRITE),
       fd = 4, offset = 39040)

39040 % 4096 == 2176

Alpha Linux 2.5.69 doesn't seem to handle unaligned offsets. Do other
architecures? Or earlier versions? The em86 code doesn't seem to care
about this at all. The only thing to handle this I can think of is to
mmap anonymously and use read() to fill in the data... or am I missing
something?

-- 
        Falk

Attachment: qemu-alpha-2003.05.11.patch.bz2
Description: Binary data


reply via email to

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