Branch: refs/heads/master
Home: https://github.com/dyninst/dyninst
Commit: dfa440eb1bb9220d6c323fa34bc8f61c25928224
https://github.com/dyninst/dyninst/commit/dfa440eb1bb9220d6c323fa34bc8f61c25928224
Author: Josh Stone <jistone@xxxxxxxxxx>
Date: 2016-08-18 (Thu, 18 Aug 2016)
Changed paths:
M symtabAPI/src/emitElf.C
Log Message:
-----------
symtabAPI: use the known type for new relocations
In emitElf::createRelocationSections(), new relocations were calling
getGlobalRelType to determine their type. However, this didn't take the
symbol type into account, so functions on PPC64 were getting GLOB_DAT
instead of JMP_SLOT, and they didn't work at all when called.
Each new relocationEntry already knows its type, so use getRelType().
|