[MC][AArch64] Make .reloc support arbitrary relocation types
authorFangrui Song <maskray@google.com>
Wed, 25 Mar 2020 03:06:31 +0000 (20:06 -0700)
committerFangrui Song <maskray@google.com>
Fri, 27 Mar 2020 19:30:52 +0000 (12:30 -0700)
commit34d77516b826f07e964fab364b02511ba6002209
tree53e8bb7bdadd45d83684826310ff85dc8d01eab6
parentc389526171ebe7985ec670676922896d324448b5
[MC][AArch64] Make .reloc support arbitrary relocation types

Depends on D76746. Generalizes D61973.

Differential Revision: https://reviews.llvm.org/D76754
llvm/lib/Target/AArch64/MCTargetDesc/AArch64AsmBackend.cpp
llvm/lib/Target/AArch64/MCTargetDesc/AArch64ELFObjectWriter.cpp
llvm/test/MC/AArch64/reloc-directive-err.s [new file with mode: 0644]
llvm/test/MC/AArch64/reloc-directive.s