summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2011-12-24 14:47:52 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2011-12-24 14:47:52 +0000
commitce618af3e880ae0ec0ddd81aca8ed5bbd4096ae4 (patch)
tree530df93d0d95848206ed0772a92dd8aed3d18a26 /include
parent7782102c70fdfd48776f05099eb67dd268cfc222 (diff)
downloadllvm-ce618af3e880ae0ec0ddd81aca8ed5bbd4096ae4.tar.gz
llvm-ce618af3e880ae0ec0ddd81aca8ed5bbd4096ae4.tar.bz2
llvm-ce618af3e880ae0ec0ddd81aca8ed5bbd4096ae4.tar.xz
Section relative fixups are a coff concept, not a x86 one. Replace the
x86 specific reloc_coff_secrel32 with a generic FK_SecRel_4. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@147252 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/MC/MCFixup.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/llvm/MC/MCFixup.h b/include/llvm/MC/MCFixup.h
index 740427083d..4aa361b2df 100644
--- a/include/llvm/MC/MCFixup.h
+++ b/include/llvm/MC/MCFixup.h
@@ -30,6 +30,10 @@ enum MCFixupKind {
FK_GPRel_2, ///< A two-byte gp relative fixup.
FK_GPRel_4, ///< A four-byte gp relative fixup.
FK_GPRel_8, ///< A eight-byte gp relative fixup.
+ FK_SecRel_1, ///< A one-byte section relative fixup.
+ FK_SecRel_2, ///< A two-byte section relative fixup.
+ FK_SecRel_4, ///< A four-byte section relative fixup.
+ FK_SecRel_8, ///< A eight-byte section relative fixup.
FirstTargetFixupKind = 128,