Hi,
I applied your patch and it seems to progress. The end value seems correct
now.
0x1169c = (0xb0009000 - 0xb0001000) + 0x969c

So, no more 2.9GB allocation which is good. Thanks to you.

Then I re-test valgrind on Android and got this error : full output here ->
http://pastebin.com/Gcz60MMM

link_image[1947]:  6854 could not load needed library
'/data/psi_omap_builds_users/x0152532/valgrind/lib/valgrind/vgpreload_core-arm-linux.so'
for '/data/hello-arm-bionic' (reloc_library[1311]:  6854 cannot locate
'__libc_freeres'...
)CANNOT LINK EXECUTABLE

I tried with --run-libc-freeres=no and have no luck with it either.

This is objdump of vgpreload_core-arm-linux.so (on Android) :
http://pastebin.com/X0Ngr8JP
So effectively, there is no __libc_freeres in the symbol table. So, to
verify things, I did the same objdump on vgpreload_core-x86-linux.so on my
dev machine and __libc_freeres is in the symbol table.

0000000000000000         *UND* 0000000000000000 __libc_freeres
0000000000000000      D  *UND* 0000000000000000 __libc_freeres

Any idea on what are the cause of this missing libc_freeres? Thanks.



However, because of the stupidity in ./linker, then load_ELF() must defend
> itself
> by ignoring empty regions:
>
>            if (iph->p_type != PT_LOAD
>             ||  iph->p_memsz == 0)    /* ignore empty PT_LOAD */
>               continue;
>
>


-- 
Wan Mohd Fairuz WAN ISMAIL
------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
Valgrind-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/valgrind-users

Reply via email to