[MC][ARM] Support .reloc *, BFD_RELOC_{NONE,8,16,32}, *
authorFangrui Song <i@maskray.me>
Sat, 6 Mar 2021 05:39:15 +0000 (21:39 -0800)
committerFangrui Song <i@maskray.me>
Sat, 6 Mar 2021 05:39:16 +0000 (21:39 -0800)
commit59ff9315fda55c274e80393c2c8db99cb856f4fc
treef014b89dff6851c0f9fc65d16b1ac81eeda8e070
parente4398bcdff68623f4aeb631b564bd3f95c41be74
[MC][ARM] Support .reloc *, BFD_RELOC_{NONE,8,16,32}, *

BFD_RELOC_NONE is useful for ld --gc-sections: it provides a generic way indicating a dependency between two sections.
llvm/lib/Target/ARM/MCTargetDesc/ARMAsmBackend.cpp
llvm/test/MC/ARM/reloc-directive.s