[LLD][ELF][ARM] Convert ADR/LDR to .inst .reloc
authorPeter Smith <peter.smith@arm.com>
Mon, 20 Apr 2020 12:55:01 +0000 (13:55 +0100)
committerPeter Smith <peter.smith@arm.com>
Mon, 20 Apr 2020 12:59:05 +0000 (13:59 +0100)
commit61bccda9d9d920c72f49025f11e8601daeb096ec
treedad7b530504e3483d1a0f4be613488581db33f73
parentf44a508df629ecc97e0b1345726b12f25927409e
[LLD][ELF][ARM] Convert ADR/LDR to .inst .reloc

After D78301 MC no longer emits a relocation for this case. Change to use
.inst and .reloc to synthesize the same instruction and relocation.
lld/test/ELF/arm-thumb-undefined-weak.s