xemu/bsd-user
Stefan Weil c7c530cd3e elf: Improve symbol lookup (optimize, fix for bsd-user)
Coverity complained about local variable key which was only partially
initiated. Only key.st_value was set. As this was also the only part
of key which was used in function symfind, the code could be optimized
by directly passing a pointer to orig_addr.

In bsd-user/elfload.c, fix ec822001a2
was missing. This was a simple replacement of > by >= in symfind, so
I fixed it here without creating an additional patch.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
Signed-off-by: Andrzej Zaborowski <andrew.zaborowski@intel.com>
2012-01-10 18:40:09 +01:00
..
freebsd bsd-user: FreeBSD update 2009-10-18 15:16:08 +00:00
i386 bsd-user: FreeBSD update 2009-10-18 15:16:08 +00:00
netbsd Preliminary BSD user emulator support 2008-10-26 20:33:16 +00:00
openbsd Fix BSD user compilation on other than OpenBSD 2008-11-22 20:34:45 +00:00
sparc Sparc32 BSD user support 2008-11-09 09:31:37 +00:00
sparc64 Preliminary BSD user emulator support 2008-10-26 20:33:16 +00:00
x86_64 Fix spelling in comments, documentation and messages 2011-12-14 11:09:44 +00:00
bsd-mman.h Prepare for handling different BSD mmap() flags 2008-11-29 14:05:16 +00:00
bsdload.c bsd_user: Fix potential null pointer dereference 2011-12-10 17:02:05 +00:00
elfload.c elf: Improve symbol lookup (optimize, fix for bsd-user) 2012-01-10 18:40:09 +01:00
errno_defs.h Preliminary BSD user emulator support 2008-10-26 20:33:16 +00:00
main.c Avoid allocating TCG resources in non-TCG mode 2011-08-05 10:57:36 -05:00
mmap.c Use glib memory allocation and free functions 2011-08-20 23:01:08 -05:00
qemu-types.h linux-user: Move abi_* typedefs into qemu-types.h 2008-12-08 18:12:04 +00:00
qemu.h Fix typos in comments (neccessary -> necessary) 2011-05-08 10:02:18 +01:00
signal.c Update to a hopefully more future proof FSF address 2009-07-16 20:47:01 +00:00
strace.c bsd-users: fix strace 2009-07-17 17:48:03 +00:00
syscall_defs.h bsd-user: FreeBSD update 2009-10-18 15:16:08 +00:00
syscall.c Use glib memory allocation and free functions 2011-08-20 23:01:08 -05:00
uaccess.c fix build warnings 2009-07-17 17:48:01 +00:00