[all-commits] [llvm/llvm-project] 786644: [XCOFF] Adjust .rename emission sequence

jasonliudev via All-commits all-commits at lists.llvm.org
Mon Aug 10 07:48:51 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 7866442b3f5d395e7f92a5d6b6ed0df3e4ba429b
      https://github.com/llvm/llvm-project/commit/7866442b3f5d395e7f92a5d6b6ed0df3e4ba429b
  Author: jasonliu <jasonliu.development at gmail.com>
  Date:   2020-08-10 (Mon, 10 Aug 2020)

  Changed paths:
    M llvm/lib/MC/MCAsmStreamer.cpp
    M llvm/lib/Target/PowerPC/MCTargetDesc/PPCMCTargetDesc.cpp
    M llvm/test/CodeGen/PowerPC/aix-xcoff-symbol-rename.ll

  Log Message:
  -----------
  [XCOFF] Adjust .rename emission sequence

Summary:
AIX assembler does not generate correct relocation when .rename
appear between tc entry label and .tc directive.
So only emit .rename after .tc/.comm or other linkage is emitted.

Reviewed By: daltenty, hubert.reinterpretcast

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




More information about the All-commits mailing list