summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2011-12-21 17:30:17 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2011-12-21 17:30:17 +0000
commitedae8e1e4d5bd9b59f18ecef04a248be95d8ca46 (patch)
tree802260886ed2101eb4eb47cd57729feac119338f /include
parentdc9a8a378daf432d8dcfc178507afe149706f9a6 (diff)
downloadllvm-edae8e1e4d5bd9b59f18ecef04a248be95d8ca46.tar.gz
llvm-edae8e1e4d5bd9b59f18ecef04a248be95d8ca46.tar.bz2
llvm-edae8e1e4d5bd9b59f18ecef04a248be95d8ca46.tar.xz
Move the X86 specific bits of the ELF writer to the Target/X86 directory.
Other targets will follow shortly. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@147060 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/MC/MCELFObjectWriter.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/llvm/MC/MCELFObjectWriter.h b/include/llvm/MC/MCELFObjectWriter.h
index 1543ede5cb..40673eca69 100644
--- a/include/llvm/MC/MCELFObjectWriter.h
+++ b/include/llvm/MC/MCELFObjectWriter.h
@@ -40,6 +40,10 @@ public:
virtual ~MCELFObjectTargetWriter();
+ virtual unsigned GetRelocType(const MCValue &Target, const MCFixup &Fixup,
+ bool IsPCRel, bool IsRelocWithSymbol,
+ int64_t Addend) const; // FIXME: add = 0
+
/// @name Accessors
/// @{
uint8_t getOSABI() { return OSABI; }