Statistics
| Branch: | Revision:

root / elf_ops.h @ 41db4607

History | View | Annotate | Download (7.9 kB)

# Date Author Comment
7f70c937 03/13/2009 11:16 pm blueswir1

Make the ELF loader aware of backwards compatibility

Most 64 bit architectures I'm aware of support running 32 bit code
of the same architecture as well.

So x86_64 can run i386 code easily and ppc64 can run ppc code.

Unfortunately, the current checks are pretty strict. So you can only...

83c1f87c 10/22/2008 09:20 pm pbrook

Use load address when loading ELF images.

Signed-off-by: Paul Brook <>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5513 c046a42c-6fe2-441c-8c8c-71466251a162

49918a75 10/22/2008 06:11 pm pbrook
  • Use function pointers for symbol lookup (currently for elf32 and elf64,
    could be expanded). This also fixes the bug with mips elf64 symbols
    in current Qemu trunk.
  • Use quicksort and binary search for symbol lookup.
  • Remove unneeded entries from symbol table. This reduced a typical table...
9596ebb7 11/18/2007 03:44 am pbrook

Add statics and missing #includes for prototypes.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3683 c046a42c-6fe2-441c-8c8c-71466251a162

82790064 10/18/2007 02:07 am ths

Cast ELF datatypes properly to host 64bit types.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3407 c046a42c-6fe2-441c-8c8c-71466251a162

eb296a0a 09/25/2007 08:30 pm blueswir1

Remove the target dependency introduced by previous patch

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3239 c046a42c-6fe2-441c-8c8c-71466251a162

9437454a 09/24/2007 09:41 pm blueswir1

Fix loading above 4G

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3230 c046a42c-6fe2-441c-8c8c-71466251a162

3b46e624 09/17/2007 11:09 am ths

find -type f | xargs sed -i 's/[\t ]*$//g' # Yes, again. Note the star in the regex.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3177 c046a42c-6fe2-441c-8c8c-71466251a162

5fafdf24 09/17/2007 12:08 am ths

find -type f | xargs sed -i 's/[\t ]$//g' # on most files

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3173 c046a42c-6fe2-441c-8c8c-71466251a162

74287114 04/01/2007 08:56 pm ths

Improved initrd support for mips.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2574 c046a42c-6fe2-441c-8c8c-71466251a162

04d4b0c3 12/23/2006 05:18 pm ths

Simplify error handling again.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2275 c046a42c-6fe2-441c-8c8c-71466251a162

9042c0e2 12/23/2006 04:18 pm ths

Check ELF binaries for machine type and endianness.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2274 c046a42c-6fe2-441c-8c8c-71466251a162

3aee288b 05/02/2006 11:54 pm bellard

fixed memory leak

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1890 c046a42c-6fe2-441c-8c8c-71466251a162

9ee3c029 04/27/2006 01:05 am bellard

added entry parameter to ELF loader

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1859 c046a42c-6fe2-441c-8c8c-71466251a162

5fe141fd 04/23/2006 08:12 pm bellard

generic ELF loader

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1831 c046a42c-6fe2-441c-8c8c-71466251a162