|
From: Tom H. <to...@co...> - 2009-08-25 14:08:12
|
On 25/08/09 15:01, Julian Seward wrote: > >> Yes. glibc no longer defines a symbol 'strlen' with type STT_FUNC. >> Instead the symbol is 'strlen' with type STT_IFUNC. >> So the name has the wrong "flavour" as far as get_elf_symbol_info >> (coregrind/m_debuginfo/readelf.c; etc.) is concerned. > > So then we just need to ensure that the elf symbol reader accepts STT_IFUNC > symbols and everything will work as before. Right? Not exactly - an STT_IFUNC symbol for strlen will be expected to point at the address of a routine that returns the address of the real strlen routine, rather than pointing directly at the address of a strlen routine. Tom -- Tom Hughes (to...@co...) http://www.compton.nu/ |