toolsandutils/e32tools/elf2e32/source/elffilesupplied.cpp
branchGCC_SURGE
changeset 61 b376866b09e6
parent 0 83f4b4db085c
--- a/toolsandutils/e32tools/elf2e32/source/elffilesupplied.cpp	Tue Jul 06 16:25:46 2010 +0100
+++ b/toolsandutils/e32tools/elf2e32/source/elffilesupplied.cpp	Tue Jul 06 16:56:48 2010 +0100
@@ -235,9 +235,13 @@
 			while( aResultPos != aAbsentListEnd ) 
 			{
 				// intersection set {Absent,ELF_Symbols} is non-empty
-
-				iSymList.insert(iSymList.end(), *aResultPos);
-				cout << "Elf2e32: Warning: Symbol " << (*aResultPos)->SymbolName() << " absent in the DEF file, but present in the ELF file" << endl;
+				// Ignore the non callable exports
+				if ((strncmp("_ZTI", (*aResultPos)->SymbolName(), len)) &&
+				    (strncmp("_ZTV", (*aResultPos)->SymbolName(), len)))
+				{	
+					iSymList.insert(iSymList.end(), *aResultPos);			
+					cout << "Elf2e32: Warning: Symbol " << (*aResultPos)->SymbolName() << " absent in the DEF file, but present in the ELF file" << endl;
+				}
 				aResultPos++;
 			}
 		}