aboutsummaryrefslogtreecommitdiffstats
path: root/lib/MC/ELFObjectWriter.cpp
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2011-01-01 19:05:35 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2011-01-01 19:05:35 +0000
commit7a54997d670d92f7f0ece87911800aa68fcb8c6d (patch)
tree6f7b754e3e18573ebb10929eccf0d66cf943d785 /lib/MC/ELFObjectWriter.cpp
parent5e09eefe95eb9fde26879e43ef9c2704505dc6f2 (diff)
downloadexternal_llvm-7a54997d670d92f7f0ece87911800aa68fcb8c6d.zip
external_llvm-7a54997d670d92f7f0ece87911800aa68fcb8c6d.tar.gz
external_llvm-7a54997d670d92f7f0ece87911800aa68fcb8c6d.tar.bz2
Fix PR8878.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@122658 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/MC/ELFObjectWriter.cpp')
-rw-r--r--lib/MC/ELFObjectWriter.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/MC/ELFObjectWriter.cpp b/lib/MC/ELFObjectWriter.cpp
index c4e2e3f..757a56a 100644
--- a/lib/MC/ELFObjectWriter.cpp
+++ b/lib/MC/ELFObjectWriter.cpp
@@ -1610,6 +1610,7 @@ unsigned X86ELFObjectWriter::GetRelocType(const MCValue &Target,
assert(Modifier == MCSymbolRefExpr::VK_None);
Type = ELF::R_X86_64_PC64;
break;
+ case X86::reloc_signed_4byte:
case X86::reloc_riprel_4byte_movq_load:
case FK_Data_4: // FIXME?
case X86::reloc_riprel_4byte: