[lld] r265305 - Regenerate test file.
Rafael Espindola via llvm-commits
llvm-commits at lists.llvm.org
Mon Apr 4 09:02:40 PDT 2016
Author: rafael
Date: Mon Apr 4 11:02:39 2016
New Revision: 265305
URL: http://llvm.org/viewvc/llvm-project?rev=265305&view=rev
Log:
Regenerate test file.
It had been created with a lld version that was producing an invalid
sh_info.
Modified:
lld/trunk/ELF/InputFiles.cpp
lld/trunk/test/ELF/Inputs/mips-gp-disp.so
lld/trunk/test/ELF/mips-gp-disp.s
Modified: lld/trunk/ELF/InputFiles.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/ELF/InputFiles.cpp?rev=265305&r1=265304&r2=265305&view=diff
==============================================================================
--- lld/trunk/ELF/InputFiles.cpp (original)
+++ lld/trunk/ELF/InputFiles.cpp Mon Apr 4 11:02:39 2016
@@ -426,9 +426,6 @@ template <class ELFT> void SharedFile<EL
uint32_t NumSymbols = std::distance(Syms.begin(), Syms.end());
SymbolBodies.reserve(NumSymbols);
for (const Elf_Sym &Sym : Syms) {
- // FIXME: We should probably just err if we get a local symbol in here.
- if (Sym.getBinding() == STB_LOCAL)
- continue;
StringRef Name = check(Sym.getName(this->StringTable));
if (Sym.isUndefined())
Undefs.push_back(Name);
Modified: lld/trunk/test/ELF/Inputs/mips-gp-disp.so
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/Inputs/mips-gp-disp.so?rev=265305&r1=265304&r2=265305&view=diff
==============================================================================
Binary files lld/trunk/test/ELF/Inputs/mips-gp-disp.so (original) and lld/trunk/test/ELF/Inputs/mips-gp-disp.so Mon Apr 4 11:02:39 2016 differ
Modified: lld/trunk/test/ELF/mips-gp-disp.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/mips-gp-disp.s?rev=265305&r1=265304&r2=265305&view=diff
==============================================================================
--- lld/trunk/test/ELF/mips-gp-disp.s (original)
+++ lld/trunk/test/ELF/mips-gp-disp.s Mon Apr 4 11:02:39 2016
@@ -17,7 +17,7 @@
# INT-SO-NEXT: Binding: Local
# EXT-SO: Name: _gp_disp
-# EXT-SO-NEXT: Value: 0x20010
+# EXT-SO-NEXT: Value: 0x20000
# DIS: Disassembly of section .text:
# DIS-NEXT: __start:
More information about the llvm-commits
mailing list