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

Unified Diff: include/llvm/Target/TargetELFWriterInfo.h

Issue 4294001: arm-mc-elf-s07 (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 | « no previous file | lib/CodeGen/ELFWriter.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/llvm/Target/TargetELFWriterInfo.h
===================================================================
--- a/include/llvm/Target/TargetELFWriterInfo.h
+++ b/include/llvm/Target/TargetELFWriterInfo.h
@@ -18,7 +18,8 @@
class Function;
class TargetData;
class TargetMachine;
-
+ class MachineRelocation;
+ class BinaryObject;
//===--------------------------------------------------------------------===//
// TargetELFWriterInfo
//===--------------------------------------------------------------------===//
@@ -89,8 +90,10 @@
}
/// getRelocationType - Returns the target specific ELF Relocation type.
- /// 'MachineRelTy' contains the object code independent relocation type
- virtual unsigned getRelocationType(unsigned MachineRelTy) const = 0;
+ /// S is the ELF section blob that contains the relocation
+ /// MR contains the object code independent relocation type
+ virtual unsigned getRelocationType(const BinaryObject &S,
+ const MachineRelocation &MR) const = 0;
/// hasRelocationAddend - True if the target uses an addend in the
/// ELF relocation entry.
« no previous file with comments | « no previous file | lib/CodeGen/ELFWriter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698