From cfb6cc7b14276079eac1a65037cb65ec682612f9 Mon Sep 17 00:00:00 2001 From: "Michael J. Spencer" Date: Fri, 7 Oct 2011 19:46:12 +0000 Subject: Fix GCC again. llvm-svn: 141389 --- llvm/lib/Object/ELFObjectFile.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'llvm/lib/Object/ELFObjectFile.cpp') diff --git a/llvm/lib/Object/ELFObjectFile.cpp b/llvm/lib/Object/ELFObjectFile.cpp index e427bed..6a6870a 100644 --- a/llvm/lib/Object/ELFObjectFile.cpp +++ b/llvm/lib/Object/ELFObjectFile.cpp @@ -762,7 +762,7 @@ error_code ELFObjectFile 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 -- cgit v1.1