[all-commits] [llvm/llvm-project] 2e2421: [MC][ARM] Resolve some pcrel fixups at assembly ti...

Hans via All-commits all-commits at lists.llvm.org
Thu Feb 27 03:43:50 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 2e24219d3cbfcb8c824c58872f97de0a2e94a7c8
      https://github.com/llvm/llvm-project/commit/2e24219d3cbfcb8c824c58872f97de0a2e94a7c8
  Author: Hans Wennborg <hans at chromium.org>
  Date:   2020-02-27 (Thu, 27 Feb 2020)

  Changed paths:
    M llvm/include/llvm/MC/MCFixupKindInfo.h
    M llvm/lib/MC/MCAssembler.cpp
    M llvm/lib/Target/ARM/MCTargetDesc/ARMAsmBackend.cpp
    M llvm/test/MC/ARM/Windows/invalid-relocation.s
    A llvm/test/MC/ARM/pcrel-global.s
    M llvm/test/MC/MachO/ARM/bad-darwin-ARM-reloc.s

  Log Message:
  -----------
  [MC][ARM] Resolve some pcrel fixups at assembly time (PR44929)

MC currently does not emit these relocation types, and lld does not
handle them. Add FKF_Constant as a work-around of some ARM code after
D72197. Eventually we probably should implement these relocation types.

By Fangrui Song!

Differential revision: https://reviews.llvm.org/D72892




More information about the All-commits mailing list