* Use function pointers for symbol lookup (currently for elf32 and elf64,
authorpbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162>
Wed, 22 Oct 2008 15:11:31 +0000 (15:11 +0000)
committerpbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162>
Wed, 22 Oct 2008 15:11:31 +0000 (15:11 +0000)
commit49918a752b739041c7afb205f7158e61c0874267
treed8da8087010dc5f06f02e972e047505d284fefaf
parentf16a0db323e1a8c0044696815cceeb98706f2243
* 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
  size (linux mips kernel) from 1764487 to 11656 entries.

Signed-off-by: Stefan Weil <weil@mail.berlios.de>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5510 c046a42c-6fe2-441c-8c8c-71466251a162
disas.c
disas.h
elf_ops.h
linux-user/elfload.c