Fix symfind.
commit010a0670053ab59ebf03075c70ab3073f029b69a
authorLaurent Desnogues <laurent.desnogues@gmail.com>
Thu, 30 Jul 2009 17:23:49 +0000 (30 19:23 +0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Fri, 28 Aug 2009 02:23:37 +0000 (27 21:23 -0500)
tree0be8938d45a275da0e200e633a1850b48b94250c
parente919a4455d3e6bb587b0c1169119d57b98cd4fd6
Fix symfind.

this patch fixes an issue in symfind.

Assume you have the following symbols:

Address  Size
0045bca0 00000080 T s0
0045bd20 00000112 T s1

You'll notice that s1 is s0 + size.

So the current symfind will find that address 0045bd20 belongs to s0
instead of s1.

Laurent

Signed-off-by: Laurent Desnogues <laurent.desnogues@gmail.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Message-Id:
elf_ops.h
linux-user/elfload.c