diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2011-12-24 14:47:52 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2011-12-24 14:47:52 +0000 |
commit | ce618af3e880ae0ec0ddd81aca8ed5bbd4096ae4 (patch) | |
tree | 530df93d0d95848206ed0772a92dd8aed3d18a26 /include/llvm/MC | |
parent | 7782102c70fdfd48776f05099eb67dd268cfc222 (diff) | |
download | external_llvm-ce618af3e880ae0ec0ddd81aca8ed5bbd4096ae4.zip external_llvm-ce618af3e880ae0ec0ddd81aca8ed5bbd4096ae4.tar.gz external_llvm-ce618af3e880ae0ec0ddd81aca8ed5bbd4096ae4.tar.bz2 |
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/llvm/MC')
-rw-r--r-- | include/llvm/MC/MCFixup.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/llvm/MC/MCFixup.h b/include/llvm/MC/MCFixup.h index 7404270..4aa361b 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, |