summaryrefslogtreecommitdiffstats
path: root/llvm/lib/MC/ELFObjectWriter.cpp
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2011-12-09 19:57:29 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2011-12-09 19:57:29 +0000
commit7e0a79318358051fe2b8947d85e84d1a3c9c282a (patch)
tree6eb8effae55392de3227e13f649912d5221c215f /llvm/lib/MC/ELFObjectWriter.cpp
parente283346d0bf47690e3008807b96721c95779b6e5 (diff)
downloadbcm5719-llvm-7e0a79318358051fe2b8947d85e84d1a3c9c282a.tar.gz
bcm5719-llvm-7e0a79318358051fe2b8947d85e84d1a3c9c282a.zip
Handle reloc_signed_4byte in here. Not doing so was a regression from my
previous commit. It is strange that we see it in 32 bits. We already have a fixme about it. llvm-svn: 146273
Diffstat (limited to 'llvm/lib/MC/ELFObjectWriter.cpp')
-rw-r--r--llvm/lib/MC/ELFObjectWriter.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/MC/ELFObjectWriter.cpp b/llvm/lib/MC/ELFObjectWriter.cpp
index 14ca509d75f..40b84ae4585 100644
--- a/llvm/lib/MC/ELFObjectWriter.cpp
+++ b/llvm/lib/MC/ELFObjectWriter.cpp
@@ -1749,6 +1749,7 @@ unsigned X86ELFObjectWriter::GetRelocType(const MCValue &Target,
Type = ELF::R_386_GOTPC;
break;
+ case X86::reloc_signed_4byte:
case FK_PCRel_4:
case FK_Data_4:
switch (Modifier) {
OpenPOWER on IntegriCloud