[DynInst_API:] [dyninst/dyninst] 101b9a: Several bug fixes on binary rewriting on Power


Date: Wed, 19 Dec 2018 07:45:27 -0800
From: Xiaozhu Meng <xmeng@xxxxxxxxxxx>
Subject: [DynInst_API:] [dyninst/dyninst] 101b9a: Several bug fixes on binary rewriting on Power
  Branch: refs/heads/power_abi_v2_fixes
  Home:   https://github.com/dyninst/dyninst
  Commit: 101b9a216d793355218d21d7afa7d235b7c98262
      https://github.com/dyninst/dyninst/commit/101b9a216d793355218d21d7afa7d235b7c98262
  Author: Xiaozhu Meng <xmeng@xxxxxxxxxxx>
  Date:   2018-12-19 (Wed, 19 Dec 2018)

  Changed paths:
    M dyninstAPI/src/addressSpace.C
    M dyninstAPI/src/image.C
    M dyninstAPI/src/inst-power.C
    M dyninstAPI/src/mapped_object.C
    M dyninstAPI/src/mapped_object.h
    M dyninstAPI/src/parse-cfg.h
    M proccontrol/src/loadLibrary/codegen-ppc.C
    M symtabAPI/src/emitElf.C
    M symtabAPI/src/emitElfStatic.C

  Log Message:
  -----------
  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


  Commit: 589e71a584f98484524c5a603a94f8ef9a5bd40e
      https://github.com/dyninst/dyninst/commit/589e71a584f98484524c5a603a94f8ef9a5bd40e
  Author: Xiaozhu Meng <xmeng@xxxxxxxxxxx>
  Date:   2018-12-19 (Wed, 19 Dec 2018)

  Changed paths:
    M dyninstAPI/src/inst-power.h
    M proccontrol/src/loadLibrary/codegen-ppc.C

  Log Message:
  -----------
  The red zone in Power ABI v2 contains 288 bytes for user code and
224 more bytes for system code. To be safe, we move down stack pointer
512 bytes to avoid overwriting any useful data.


Compare: https://github.com/dyninst/dyninst/compare/101b9a216d79^...589e71a584f9
      **NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.
[← Prev in Thread] Current Thread [Next in Thread→]