1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 11:13:28 +01:00

[RISCV] Set HasRelocationAddend for RISCVELFObjectWriter

llvm-svn: 311275
This commit is contained in:
Alex Bradbury 2017-08-20 06:55:14 +00:00
parent 27ac91642e
commit df0b1e71a3

View File

@ -29,7 +29,7 @@ protected:
RISCVELFObjectWriter::RISCVELFObjectWriter(uint8_t OSABI, bool Is64Bit) RISCVELFObjectWriter::RISCVELFObjectWriter(uint8_t OSABI, bool Is64Bit)
: MCELFObjectTargetWriter(Is64Bit, OSABI, ELF::EM_RISCV, : MCELFObjectTargetWriter(Is64Bit, OSABI, ELF::EM_RISCV,
/*HasRelocationAddend*/ false) {} /*HasRelocationAddend*/ true) {}
RISCVELFObjectWriter::~RISCVELFObjectWriter() {} RISCVELFObjectWriter::~RISCVELFObjectWriter() {}