[SystemZ] Add support for .reloc assembler directive
authorUlrich Weigand <ulrich.weigand@de.ibm.com>
Fri, 25 Jun 2021 19:49:07 +0000 (21:49 +0200)
committerUlrich Weigand <ulrich.weigand@de.ibm.com>
Fri, 25 Jun 2021 19:51:10 +0000 (21:51 +0200)
commitb2674670f264e2a80c79cb8bf2186f1ab3b791e6
treeae2dd29863bdc260b7025b8534b2fbeccf17708a
parent3638085ff01332afbd2eb555a32821802f0643c8
[SystemZ] Add support for .reloc assembler directive

Add support for the .reloc directive along the lines of
other back-ends.

This fixes a regression after https://reviews.llvm.org/D104080
was merged, since that patch presupposed support for .reloc.
llvm/lib/Target/SystemZ/MCTargetDesc/SystemZMCAsmBackend.cpp
llvm/lib/Target/SystemZ/MCTargetDesc/SystemZMCObjectWriter.cpp
llvm/test/MC/SystemZ/reloc-directive.s [new file with mode: 0644]