[all-commits] [llvm/llvm-project] 3bbe7a: [XCOFF][AIX] Support basic relocation type on AIX

jasonliudev via All-commits all-commits at lists.llvm.org
Thu Jan 30 08:00:07 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 3bbe7a681e0f98182daf268a314d1372073ea019
      https://github.com/llvm/llvm-project/commit/3bbe7a681e0f98182daf268a314d1372073ea019
  Author: jasonliu <jasonliu.development at gmail.com>
  Date:   2020-01-30 (Thu, 30 Jan 2020)

  Changed paths:
    M llvm/include/llvm/BinaryFormat/XCOFF.h
    M llvm/include/llvm/MC/MCXCOFFObjectWriter.h
    M llvm/lib/MC/MCXCOFFStreamer.cpp
    M llvm/lib/MC/XCOFFObjectWriter.cpp
    M llvm/lib/Object/XCOFFObjectFile.cpp
    M llvm/lib/Target/PowerPC/MCTargetDesc/PPCXCOFFObjectWriter.cpp
    M llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
    M llvm/test/CodeGen/PowerPC/aix-user-defined-memcpy.ll
    A llvm/test/CodeGen/PowerPC/aix-xcoff-reloc.ll

  Log Message:
  -----------
  [XCOFF][AIX] Support basic relocation type on AIX

Summary:

This patch intends to support three most common relocation type
on AIX: R_POS, R_TOC, R_RBR.
These three relocation type will be needed for object file generation
on AIX for small code model.
We will have follow up patches to bring relocation support for
large code model on AIX.

Reviewers: hubert.reinterpretcast, daltenty, DiggerLin

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




More information about the All-commits mailing list