aboutsummaryrefslogtreecommitdiffstats
path: root/lib/MC/MCELFStreamer.cpp
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2010-11-28 14:17:56 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2010-11-28 14:17:56 +0000
commite04ed7e45f194f14a7b28bbf3f55694d8e2bcf80 (patch)
tree854092273f97215528c062e83ee8d5ef3ff4eff4 /lib/MC/MCELFStreamer.cpp
parent9a08ca318e63912e4c19977abc1173f30866b704 (diff)
downloadexternal_llvm-e04ed7e45f194f14a7b28bbf3f55694d8e2bcf80.zip
external_llvm-e04ed7e45f194f14a7b28bbf3f55694d8e2bcf80.tar.gz
external_llvm-e04ed7e45f194f14a7b28bbf3f55694d8e2bcf80.tar.bz2
Define generic 1, 2 and 4 byte pc relative relocations. They are common
and at least the 4 byte one will be needed to implement the .cfi_* directives. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120240 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/MC/MCELFStreamer.cpp')
-rw-r--r--lib/MC/MCELFStreamer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/MC/MCELFStreamer.cpp b/lib/MC/MCELFStreamer.cpp
index ec28a90..5b707cb 100644
--- a/lib/MC/MCELFStreamer.cpp
+++ b/lib/MC/MCELFStreamer.cpp
@@ -398,7 +398,7 @@ void MCELFStreamer::EmitValue(const MCExpr *Value, unsigned Size,
DF->getContents().push_back(uint8_t(AbsValue >> (i * 8)));
} else {
DF->addFixup(MCFixup::Create(DF->getContents().size(), AddValueSymbols(Value),
- MCFixup::getKindForSize(Size)));
+ MCFixup::getKindForSize(Size, false)));
DF->getContents().resize(DF->getContents().size() + Size, 0);
}
}