[llvm-commits] [lld] r171533 - /lld/trunk/lib/ReaderWriter/ELF/ReaderELF.cpp
Michael J. Spencer
bigcheesegs at gmail.com
Fri Jan 4 13:25:25 PST 2013
Author: mspencer
Date: Fri Jan 4 15:25:25 2013
New Revision: 171533
URL: http://llvm.org/viewvc/llvm-project?rev=171533&view=rev
Log:
[ELF] STT_GNU_IFUNC is a known symbol type, so accept it. We do not yet implement its semantics.
Modified:
lld/trunk/lib/ReaderWriter/ELF/ReaderELF.cpp
Modified: lld/trunk/lib/ReaderWriter/ELF/ReaderELF.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/lib/ReaderWriter/ELF/ReaderELF.cpp?rev=171533&r1=171532&r2=171533&view=diff
==============================================================================
--- lld/trunk/lib/ReaderWriter/ELF/ReaderELF.cpp (original)
+++ lld/trunk/lib/ReaderWriter/ELF/ReaderELF.cpp Fri Jan 4 15:25:25 2013
@@ -164,6 +164,7 @@
if (symbol->getType() == llvm::ELF::STT_NOTYPE
|| symbol->getType() == llvm::ELF::STT_OBJECT
|| symbol->getType() == llvm::ELF::STT_FUNC
+ || symbol->getType() == llvm::ELF::STT_GNU_IFUNC
|| symbol->getType() == llvm::ELF::STT_SECTION
|| symbol->getType() == llvm::ELF::STT_FILE
|| symbol->getType() == llvm::ELF::STT_TLS
More information about the llvm-commits
mailing list