[all-commits] [llvm/llvm-project] 1bfc5e: [SPARC][MC] Support more relocation types

LemonBoy via All-commits all-commits at lists.llvm.org
Sun Jun 5 11:10:01 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1bfc5e720cadecb3aaa9fed8bec77f0533c8398b
      https://github.com/llvm/llvm-project/commit/1bfc5e720cadecb3aaa9fed8bec77f0533c8398b
  Author: LemonBoy <thatlemon at gmail.com>
  Date:   2022-06-05 (Sun, 05 Jun 2022)

  Changed paths:
    M llvm/lib/Target/Sparc/AsmParser/SparcAsmParser.cpp
    M llvm/lib/Target/Sparc/MCTargetDesc/SparcAsmBackend.cpp
    M llvm/lib/Target/Sparc/MCTargetDesc/SparcELFObjectWriter.cpp
    M llvm/lib/Target/Sparc/MCTargetDesc/SparcFixupKinds.h
    M llvm/lib/Target/Sparc/MCTargetDesc/SparcMCCodeEmitter.cpp
    M llvm/lib/Target/Sparc/MCTargetDesc/SparcMCExpr.cpp
    M llvm/lib/Target/Sparc/MCTargetDesc/SparcMCExpr.h
    M llvm/lib/Target/Sparc/SparcISelLowering.cpp
    M llvm/lib/Target/Sparc/SparcISelLowering.h
    M llvm/lib/Target/Sparc/SparcInstr64Bit.td
    M llvm/lib/Target/Sparc/SparcInstrInfo.td
    A llvm/test/MC/Sparc/sparc-fixups.s
    M llvm/test/MC/Sparc/sparc-relocations.s

  Log Message:
  -----------
  [SPARC][MC] Support more relocation types

This patch introduces support for %hix, %lox, %gdop_hix22, %gdop_lox10 and %gdop.

An extra test is introduced to make sure the fixups are correctly applied.

Reviewed By: dcederman

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




More information about the All-commits mailing list