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

Unified Diff: lib/Target/ARM/ARMELFWriterInfo.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 | « lib/CodeGen/ELFWriter.cpp ('k') | lib/Target/ARM/ARMELFWriterInfo.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/Target/ARM/ARMELFWriterInfo.h
===================================================================
--- a/lib/Target/ARM/ARMELFWriterInfo.h
+++ b/lib/Target/ARM/ARMELFWriterInfo.h
@@ -17,7 +17,7 @@
#include "llvm/Target/TargetELFWriterInfo.h"
namespace llvm {
-
+ class MachineRelocation;
class ARMELFWriterInfo : public TargetELFWriterInfo {
// ELF Relocation types for ARM
@@ -32,8 +32,10 @@
virtual ~ARMELFWriterInfo();
/// getRelocationType - Returns the target specific ELF Relocation type.
- /// 'MachineRelTy' contains the object code independent relocation type
- virtual unsigned getRelocationType(unsigned MachineRelTy) const;
+ /// 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;
/// hasRelocationAddend - True if the target uses an addend in the
/// ELF relocation entry.
« no previous file with comments | « lib/CodeGen/ELFWriter.cpp ('k') | lib/Target/ARM/ARMELFWriterInfo.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698