[LoongArch] Add more fixups and relocations
commitbf47954703206ae4459aaf6f3ed212602524da70
authorwanglei <wanglei@loongson.cn>
Mon, 5 Sep 2022 06:27:36 +0000 (5 14:27 +0800)
committerWeining Lu <luweining@loongson.cn>
Mon, 5 Sep 2022 06:55:18 +0000 (5 14:55 +0800)
tree3502478b1bf3c6b4757c78ce39311475cd403209
parent36a1ca5835e0f7e0e02899d97cd2e4c7bf704361
[LoongArch] Add more fixups and relocations

This patch makes the assembler support all modifiers defined in gnu-as.
Also changes some diagnostic information.

Differential Revision: https://reviews.llvm.org/D132633
12 files changed:
llvm/lib/Target/LoongArch/AsmParser/LoongArchAsmParser.cpp
llvm/lib/Target/LoongArch/LoongArchInstrInfo.td
llvm/lib/Target/LoongArch/LoongArchMCInstLower.cpp
llvm/lib/Target/LoongArch/MCTargetDesc/LoongArchAsmBackend.cpp
llvm/lib/Target/LoongArch/MCTargetDesc/LoongArchELFObjectWriter.cpp
llvm/lib/Target/LoongArch/MCTargetDesc/LoongArchFixupKinds.h
llvm/lib/Target/LoongArch/MCTargetDesc/LoongArchMCCodeEmitter.cpp
llvm/lib/Target/LoongArch/MCTargetDesc/LoongArchMCExpr.cpp
llvm/lib/Target/LoongArch/MCTargetDesc/LoongArchMCExpr.h
llvm/test/MC/LoongArch/Basic/Integer/invalid.s
llvm/test/MC/LoongArch/Basic/Integer/invalid64.s
llvm/test/MC/LoongArch/Relocations/relocations.s