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

Unified Diff: lib/Target/X86/X86ELFWriterInfo.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/Target/MBlaze/MBlazeELFWriterInfo.cpp ('k') | lib/Target/X86/X86ELFWriterInfo.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/Target/X86/X86ELFWriterInfo.h
===================================================================
--- a/lib/Target/X86/X86ELFWriterInfo.h
+++ b/lib/Target/X86/X86ELFWriterInfo.h
@@ -17,7 +17,8 @@
#include "llvm/Target/TargetELFWriterInfo.h"
namespace llvm {
-
+ class BinaryObject;
+ class MachineRelocation;
class X86ELFWriterInfo : public TargetELFWriterInfo {
// ELF Relocation types for X86
@@ -42,8 +43,10 @@
virtual ~X86ELFWriterInfo();
/// 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/Target/MBlaze/MBlazeELFWriterInfo.cpp ('k') | lib/Target/X86/X86ELFWriterInfo.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698