llvm-project/llvm/lib/Target/RISCV/MCTargetDesc
Alex Bradbury eb3a64a4da [RISCV] Properly evaluate fixup_riscv_pcrel_lo12
This is a update to D43157 to correctly handle fixup_riscv_pcrel_lo12.

Notable changes:

Rebased onto trunk
Handle and test S-type
Test case pcrel-hilo.s is merged into relocations.s

D43157 description:
VK_RISCV_PCREL_LO has to be handled specially. The MCExpr inside is
actually the location of an auipc instruction with a VK_RISCV_PCREL_HI fixup
pointing to the real target.

Differential Revision: https://reviews.llvm.org/D54029
Patch by Chih-Mao Chen and Michael Spencer.

llvm-svn: 349764
2018-12-20 14:52:15 +00:00
..
CMakeLists.txt Revert "[RISCV] implement li pseudo instruction" 2018-04-18 19:02:31 +00:00
LLVMBuild.txt
RISCVAsmBackend.cpp [RISCV] Properly evaluate fixup_riscv_pcrel_lo12 2018-12-20 14:52:15 +00:00
RISCVAsmBackend.h [RISCV] Properly evaluate fixup_riscv_pcrel_lo12 2018-12-20 14:52:15 +00:00
RISCVELFObjectWriter.cpp [RISCV] Support linker relax function call from auipc and jalr to jal 2018-05-24 06:21:23 +00:00
RISCVELFStreamer.cpp [RISCV] Support .option push and .option pop 2018-11-28 16:39:14 +00:00
RISCVELFStreamer.h [RISCV] Support .option push and .option pop 2018-11-28 16:39:14 +00:00
RISCVFixupKinds.h [RISCV] Support linker relax function call from auipc and jalr to jal 2018-05-24 06:21:23 +00:00
RISCVMCAsmInfo.cpp [RISCV] Add support for .half, .hword, .word, .dword directives 2018-05-17 05:58:08 +00:00
RISCVMCAsmInfo.h
RISCVMCCodeEmitter.cpp [RISCV] Support named operands for CSR instructions. 2018-10-04 21:50:54 +00:00
RISCVMCExpr.cpp [RISCV] Properly evaluate fixup_riscv_pcrel_lo12 2018-12-20 14:52:15 +00:00
RISCVMCExpr.h [RISCV] Properly evaluate fixup_riscv_pcrel_lo12 2018-12-20 14:52:15 +00:00
RISCVMCTargetDesc.cpp [RISCV] Support .option rvc and norvc assembler directives 2018-05-11 17:30:28 +00:00
RISCVMCTargetDesc.h MC: Separate creating a generic object writer from creating a target object writer. NFCI. 2018-05-21 19:20:29 +00:00
RISCVTargetStreamer.cpp [RISCV] Support .option push and .option pop 2018-11-28 16:39:14 +00:00
RISCVTargetStreamer.h [RISCV] Support .option push and .option pop 2018-11-28 16:39:14 +00:00