Branch: refs/heads/pic_fix
Home: https://github.com/dyninst/dyninst
Commit: 8cac96d9911f05a01a88990ff38a70c2f885640d
https://github.com/dyninst/dyninst/commit/8cac96d9911f05a01a88990ff38a70c2f885640d
Author: Xiaozhu Meng <xmeng@xxxxxxxxxxx>
Date: 2019-02-15 (Fri, 15 Feb 2019)
Changed paths:
M dyninstAPI/src/inst-power.C
Log Message:
-----------
A few fixes for PIC instrumentation on power
1. Fix PC-relative load and store of variables
2. The preamble of PIE uses R12 to set up R2. However,
when generating intra-module calls, Dyninst does not
set up R12 and will call the global entry, causing R2 to
be incorrect. Since there is no need to change R2 for
intra-module calls, we should call the local entry
Commit: 4a1c1e8bce6545b859bc1d6759ce3b4a127dc25b
https://github.com/dyninst/dyninst/commit/4a1c1e8bce6545b859bc1d6759ce3b4a127dc25b
Author: Xiaozhu Meng <xmeng@xxxxxxxxxxx>
Date: 2019-02-15 (Fri, 15 Feb 2019)
Changed paths:
M dyninstAPI/src/Relocation/Widgets/CFWidget-ppc.C
Log Message:
-----------
Fix function call replacment on power for PIC.
Need to call local entry when doing an intra-module call
Compare: https://github.com/dyninst/dyninst/compare/5a7ccad0549d...4a1c1e8bce65
|