[all-commits] [llvm/llvm-project] b40363: [PowerPC] Fix incorrect PC Relative relocations fo...

stefanp-ibm via All-commits all-commits at lists.llvm.org
Mon Jun 8 18:30:15 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: b4036329f1634f66273516840bedfaae1399f87d
      https://github.com/llvm/llvm-project/commit/b4036329f1634f66273516840bedfaae1399f87d
  Author: Stefan Pintilie <stefanp at ca.ibm.com>
  Date:   2020-06-08 (Mon, 08 Jun 2020)

  Changed paths:
    M llvm/lib/Target/PowerPC/MCTargetDesc/PPCMCCodeEmitter.cpp
    M llvm/test/MC/PowerPC/future-reloc.s

  Log Message:
  -----------
  [PowerPC] Fix incorrect PC Relative relocations for Big Endian

Fix the incorrect PC Relative relocations for Big Endian for 34 bit offsets.
The offset should be zero for both BE and LE in this situation.

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




More information about the All-commits mailing list