[llvm] r311275 - [RISCV] Set HasRelocationAddend for RISCVELFObjectWriter
Alex Bradbury via llvm-commits
llvm-commits at lists.llvm.org
Sat Aug 19 23:55:14 PDT 2017
Author: asb
Date: Sat Aug 19 23:55:14 2017
New Revision: 311275
URL: http://llvm.org/viewvc/llvm-project?rev=311275&view=rev
Log:
[RISCV] Set HasRelocationAddend for RISCVELFObjectWriter
Modified:
llvm/trunk/lib/Target/RISCV/MCTargetDesc/RISCVELFObjectWriter.cpp
Modified: llvm/trunk/lib/Target/RISCV/MCTargetDesc/RISCVELFObjectWriter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/RISCV/MCTargetDesc/RISCVELFObjectWriter.cpp?rev=311275&r1=311274&r2=311275&view=diff
==============================================================================
--- llvm/trunk/lib/Target/RISCV/MCTargetDesc/RISCVELFObjectWriter.cpp (original)
+++ llvm/trunk/lib/Target/RISCV/MCTargetDesc/RISCVELFObjectWriter.cpp Sat Aug 19 23:55:14 2017
@@ -29,7 +29,7 @@ protected:
RISCVELFObjectWriter::RISCVELFObjectWriter(uint8_t OSABI, bool Is64Bit)
: MCELFObjectTargetWriter(Is64Bit, OSABI, ELF::EM_RISCV,
- /*HasRelocationAddend*/ false) {}
+ /*HasRelocationAddend*/ true) {}
RISCVELFObjectWriter::~RISCVELFObjectWriter() {}
More information about the llvm-commits
mailing list