[all-commits] [llvm/llvm-project] 2e8c7f: [XCOFF] adjust the Fixedvalue for R_RBR relocations.

Esme via All-commits all-commits at lists.llvm.org
Wed Dec 14 22:57:30 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2e8c7f652776ad9c53614bcd638056c5356a5110
      https://github.com/llvm/llvm-project/commit/2e8c7f652776ad9c53614bcd638056c5356a5110
  Author: esmeyi <esme.yi at ibm.com>
  Date:   2022-12-15 (Thu, 15 Dec 2022)

  Changed paths:
    M llvm/lib/MC/XCOFFObjectWriter.cpp
    M llvm/test/CodeGen/PowerPC/aix-xcoff-funcsect.ll

  Log Message:
  -----------
  [XCOFF] adjust the Fixedvalue for R_RBR relocations.

Summary: Currently we get a wrong fixed value for R_RBR relocations when -ffunction-sections enabled. This patch fixes this.

Reviewed By: DiggerLin, shchenz

Differential Revision: https://reviews.llvm.org/D138982




More information about the All-commits mailing list