aboutsummaryrefslogtreecommitdiff
path: root/lib/Target/X86/X86ELFWriterInfo.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Target/X86/X86ELFWriterInfo.h')
-rw-r--r--lib/Target/X86/X86ELFWriterInfo.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/lib/Target/X86/X86ELFWriterInfo.h b/lib/Target/X86/X86ELFWriterInfo.h
index 2ba1a0bd70..f372658f70 100644
--- a/lib/Target/X86/X86ELFWriterInfo.h
+++ b/lib/Target/X86/X86ELFWriterInfo.h
@@ -51,7 +51,14 @@ namespace llvm {
/// getAddendForRelTy - Gets the addend value for an ELF relocation entry
/// based on the target relocation type
- virtual long int getAddendForRelTy(unsigned RelTy) const;
+ virtual long int getDefaultAddendForRelTy(unsigned RelTy) const;
+
+ /// getRelTySize - Returns the size of relocatable field in bits
+ virtual unsigned getRelocationTySize(unsigned RelTy) const;
+
+ /// getJumpTableRelocationTy - Returns the machine relocation type used
+ /// to reference a jumptable.
+ virtual unsigned getJumpTableMachineRelocationTy() const;
};
} // end llvm namespace