Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(532)

Unified Diff: lib/Target/TargetELFWriterInfo.cpp

Issue 4295001: arm-mc-elf-s07-tew (Closed)
Patch Set: Created 10 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « lib/Target/ARM/ARMELFWriterInfo.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/Target/TargetELFWriterInfo.cpp
===================================================================
--- a/lib/Target/TargetELFWriterInfo.cpp
+++ b/lib/Target/TargetELFWriterInfo.cpp
@@ -11,15 +11,35 @@
//
//===----------------------------------------------------------------------===//
+#include <cassert>
#include "llvm/Function.h"
#include "llvm/Target/TargetELFWriterInfo.h"
#include "llvm/Target/TargetData.h"
#include "llvm/Target/TargetMachine.h"
using namespace llvm;
+//===----------------------------------------------------------------------===//
+// TargetELFWriterInfo implementation
+//===----------------------------------------------------------------------===//
+
TargetELFWriterInfo::TargetELFWriterInfo(bool is64Bit_, bool isLittleEndian_) :
is64Bit(is64Bit_), isLittleEndian(isLittleEndian_) {
}
TargetELFWriterInfo::~TargetELFWriterInfo() {}
+TargetELFRelocHelper *TargetELFWriterInfo::getRelocHelper() const {
+ return new TargetELFRelocHelper();
+}
+
+//===----------------------------------------------------------------------===//
+// TargetELFRelocHelper implementation
+//===----------------------------------------------------------------------===//
+
+TargetELFRelocHelper::~TargetELFRelocHelper() {}
+
+void TargetELFRelocHelper::RelocateField(BinaryObject &BO, uint32_t Offset,
+ int64_t Value, unsigned Size,
+ const MachineRelocation &MR) {
+ assert(0 && "unimplemented RelocateField()");
+}
« no previous file with comments | « lib/Target/ARM/ARMELFWriterInfo.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698