[ARM][MC][Thumb] Revert relocation for some pc-relative fixups.
authorMark Murray <mark.murray@arm.com>
Thu, 16 Apr 2020 14:17:34 +0000 (15:17 +0100)
committerMark Murray <mark.murray@arm.com>
Mon, 20 Apr 2020 08:38:12 +0000 (09:38 +0100)
commit3ce0ad1b336e67a76d78ae7ff7d66fe127586620
tree42043b09bde3b9aaa86480dcb521306e215e5e5c
parent4331b3812ae1b83dc4d5bda3b610410cccdfb13b
[ARM][MC][Thumb] Revert relocation for some pc-relative fixups.

Summary:
This commit reverts 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.

Reviewers: psmith

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

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D78301
llvm/lib/Target/ARM/MCTargetDesc/ARMAsmBackend.cpp
llvm/lib/Target/ARM/MCTargetDesc/ARMELFObjectWriter.cpp
llvm/test/MC/ARM/pcrel-global-rel.s [deleted file]
llvm/test/MC/ARM/pcrel-global.s
llvm/test/MC/ARM/thumb1-relax-adr.s
llvm/test/MC/ARM/thumb1-relax-ldrlit.s