[all-commits] [llvm/llvm-project] 3df813: [ARM][MC][Thumb] Recommit: Revert relocation for s...

Mark Murray via All-commits all-commits at lists.llvm.org
Wed Apr 22 08:54:52 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 3df8135286a2180a8fadcdddfcf9d9c232fb6ad7
      https://github.com/llvm/llvm-project/commit/3df8135286a2180a8fadcdddfcf9d9c232fb6ad7
  Author: Mark Murray <mark.murray at arm.com>
  Date:   2020-04-22 (Wed, 22 Apr 2020)

  Changed paths:
    M llvm/lib/Target/ARM/MCTargetDesc/ARMAsmBackend.cpp
    M llvm/lib/Target/ARM/MCTargetDesc/ARMELFObjectWriter.cpp
    R llvm/test/MC/ARM/pcrel-global-rel.s
    M llvm/test/MC/ARM/pcrel-global.s
    M llvm/test/MC/ARM/thumb1-relax-adr.s
    M llvm/test/MC/ARM/thumb1-relax-ldrlit.s

  Log Message:
  -----------
  [ARM][MC][Thumb] Recommit: Revert relocation for some pc-relative fixups.

Summary:
This commit recommits the reversion of https://reviews.llvm.org/D75039.

Concensus appears to be in favour of assembly-time resolution of
these ADR and LDR relocations, in line with GNU. The previous
backout broke many lld tests, now fixed by Peter Smith in
61bccda9d9d920c72f49025f11e8601daeb096ec.

Reviewers: psmith

Subscribers: kristof.beyls, hiraditya, danielkiss, llvm-commits

Tags: #llvm

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




More information about the All-commits mailing list