search for: printreloc

Displaying 1 result from an estimated 1 matches for "printreloc".

2012 Aug 03
1
[LLVMdev] llvm-objdump does not give information about all relocations
Hi, We are trying to use LLVM API to programmatically obtain a list of relocations in an ELF file. The way we are doing this is exactly as llvm-objdump does it: we are iterating through sections and in each section we are iterating over relocations (see PrintRelocations() function at https://llvm.org/svn/llvm-project/llvm/trunk/tools/llvm-objdump/llvm-objdump.cpp). However, it does not give us relocation entries in .rela.dyn section. Consider, for instance, the output of "readelf -r /bin/true": $ readelf -r /bin/true Relocation section '.rel...