|
From: Josef W. <Jos...@gm...> - 2005-11-15 23:27:09
|
> Does this patch help? It reinstates part of the ifdefed out code. Yes. 21160 is in GOT of libpthread-2.3.5.so again: .> 0x00004500(0x2020202E, 0x2020202E, ...) [libpthread-2.3.5.so / 0x4500] . > 0x00004530(0x2020202E, 0x2020202E, ...) [libpthread-2.3.5.so / 0x4530] . > 0x00021160 [GOT](0x2020202E, 0x2020202E, ...) [libpthread-2.3.5.so / 0x21160] BTW: You can get this call tree with callgrind --ct-verbose=1 ... Perhaps these missing symbols are not really a fault of Valgrind: % objdump -t /lib/tls/libpthread-2.3.5.so /lib/tls/libpthread-2.3.5.so: file format elf32-powerpc SYMBOL TABLE: 00004530 l F .text 00000000 call_initialize_minimal ... 00004500 l F .init 00000000 _init Both have size 0, and AFAIK, the symbol reader skips these. I have no idea why these have size 0. Perhaps handcrafted assembler. Perhaps we could artificially change the size to 1 for functions of size 0? I have no idea how much this increases the number of symbols, though. Josef |