Date: | Thu, 18 Aug 2016 13:24:32 -0700 |
---|---|
From: | Josh Stone <jistone@xxxxxxxxxx> |
Subject: | [DynInst_API:] [dyninst/dyninst] dfa440: symtabAPI: use the known type for new relocations |
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(). |
[← Prev in Thread] | Current Thread | [Next in Thread→] |
---|---|---|
|
Previous by Date: | Re: [DynInst_API:] Dyninst: Assertion `!"No common block variables to parse!"' failed., Bill Williams |
---|---|
Next by Date: | [DynInst_API:] [dyninst/dyninst] 21dcf8: regenerate dynC lexer/parser, Bill Williams |
Previous by Thread: | [DynInst_API:] [dyninst/dyninst] df6b4f: Add windows-ish implementation for process-level g..., Bill Williams |
Next by Thread: | [DynInst_API:] [dyninst/dyninst] dff30a: Implement interprocedural analysis for StackMod., Matt Morehouse |
Indexes: | [Date] [Thread] |