Several bug fixes on binary rewriting on Power
authorXiaozhu Meng <xmeng@cs.wisc.edu>
Wed, 19 Dec 2018 15:02:26 +0000 (09:02 -0600)
committerXiaozhu Meng <xmeng@cs.wisc.edu>
Wed, 19 Dec 2018 15:02:26 +0000 (09:02 -0600)
commit101b9a216d793355218d21d7afa7d235b7c98262
treed47046cce839d1368c52f645d9d8c1b63915b5dc
parentda438121d0a4f33f47d48be72d047134ec158a4c
Several bug fixes on binary rewriting on Power

1. Fix TOC address calculation
2. Fix PLT call/jump
3. Adjust GLINK entry in .dynamic section, which points to the PLT resolver
4. Adjust R_PPC64_RELATIVE relocation entries
dyninstAPI/src/addressSpace.C
dyninstAPI/src/image.C
dyninstAPI/src/inst-power.C
dyninstAPI/src/mapped_object.C
dyninstAPI/src/mapped_object.h
dyninstAPI/src/parse-cfg.h
proccontrol/src/loadLibrary/codegen-ppc.C
symtabAPI/src/emitElf.C
symtabAPI/src/emitElfStatic.C