[all-commits] [llvm/llvm-project] dd5873: [MC][Mips] Support .reloc *, BFD_RELOC_{NONE, 16, 32...

Fangrui Song via All-commits all-commits at lists.llvm.org
Thu Jun 30 16:39:36 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: dd58735a1d44095f0827bd6f7624a1eb26c1054b
      https://github.com/llvm/llvm-project/commit/dd58735a1d44095f0827bd6f7624a1eb26c1054b
  Author: Fangrui Song <i at maskray.me>
  Date:   2022-06-30 (Thu, 30 Jun 2022)

  Changed paths:
    M llvm/lib/Target/Mips/MCTargetDesc/MipsAsmBackend.cpp
    M llvm/lib/Target/Mips/MCTargetDesc/MipsELFObjectWriter.cpp
    M llvm/test/MC/Mips/reloc-directive.s

  Log Message:
  -----------
  [MC][Mips] Support .reloc *, BFD_RELOC_{NONE,16,32,64}, *

... to match most other common architectures which already support BFD_RELOC_*.
BFD_RELOC_NONE provides a generic way indicating a dependency between two
sections and is useful for some instrumentations which encode symbol index
information (e.g. `.cg_profile`).




More information about the All-commits mailing list