summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Object/ELFObjectFile.cpp
diff options
context:
space:
mode:
authorMichael J. Spencer <bigcheesegs@gmail.com>2011-10-07 19:46:12 +0000
committerMichael J. Spencer <bigcheesegs@gmail.com>2011-10-07 19:46:12 +0000
commitcfb6cc7b14276079eac1a65037cb65ec682612f9 (patch)
treed382bfd707431acaec2e30700237ec33708e1c82 /llvm/lib/Object/ELFObjectFile.cpp
parentc28416d777421abd607ee911d2cb04d62a62a7d1 (diff)
downloadbcm5719-llvm-cfb6cc7b14276079eac1a65037cb65ec682612f9.tar.gz
bcm5719-llvm-cfb6cc7b14276079eac1a65037cb65ec682612f9.zip
Fix GCC again.
llvm-svn: 141389
Diffstat (limited to 'llvm/lib/Object/ELFObjectFile.cpp')
-rw-r--r--llvm/lib/Object/ELFObjectFile.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Object/ELFObjectFile.cpp b/llvm/lib/Object/ELFObjectFile.cpp
index e427bedb982..6a6870a4e5c 100644
--- a/llvm/lib/Object/ELFObjectFile.cpp
+++ b/llvm/lib/Object/ELFObjectFile.cpp
@@ -762,7 +762,7 @@ error_code ELFObjectFile<target_endianness, is64Bits>
if (Rel.w.c >= (relocsec->sh_size / relocsec->sh_entsize)) {
// We have reached the end of the relocations for this section. See if there
// is another relocation section.
- typename RelocMap_t::mapped_type &relocseclist =
+ typename RelocMap_t::mapped_type relocseclist =
SectionRelocMap.lookup(getSection(Rel.w.a));
// Do a binary search for the current reloc section index (which must be
OpenPOWER on IntegriCloud