Re: [Qemu-devel] [PATCH] allow to load android binary

2012-03-28 Thread Peter Maydell
2012/3/28 Cédric VINCENT : > matthieu castet free.fr> writes: >> >> Android binary start with a weird elf program header : the first >> one is of size 0 pointing to NULL addr. >> >> Ignore LOAD program where MemSiz is 0. > This old patch (not mine) is required to run Android binaries with > QEMU

Re: [Qemu-devel] [PATCH] allow to load android binary

2012-03-28 Thread Cédric VINCENT
matthieu castet free.fr> writes: > > Android binary start with a weird elf program header : the first > one is of size 0 pointing to NULL addr. > > Ignore LOAD program where MemSiz is 0. > ... > > Attachment (0001-allow-to-load-android-binary.patch): text/x-diff, 2172 bytes This old patch (not

[Qemu-devel] [PATCH] allow to load android binary

2011-03-02 Thread matthieu castet
Hi, Android binary start with a weird elf program header : the first one is of size 0 pointing to NULL addr. Ignore LOAD program where MemSiz is 0. Elf file type is EXEC (Executable file) Entry point 0xb0001000 There are 5 program headers, starting at offset 52 Program Headers: Type