--- a/e32tools/elf2e32/source/pl_elfproducer.cpp Tue Nov 02 16:54:53 2010 +0800
+++ b/e32tools/elf2e32/source/pl_elfproducer.cpp Tue Nov 16 15:54:07 2010 +0800
@@ -172,7 +172,10 @@
while(aItr != aEnd) {
String aSymName("");
aSym = *aItr;
- aSymName = aSym->SymbolName();
+ if(aSym->ExportName())
+ aSymName = aSym->ExportName();
+ else
+ aSymName = aSym->SymbolName();
//set symbol info..
iElfDynSym[aIdx].st_name = iDSOSymNameStrTbl.size();
@@ -183,7 +186,10 @@
//set version table info...
iVersionTbl[aIdx] = DEFAULT_VERSION;
- AddToHashTable(aSym->SymbolName(), aIdx);
+ if(aSym->ExportName())
+ AddToHashTable(aSym->ExportName(), aIdx);
+ else
+ AddToHashTable(aSym->SymbolName(), aIdx);
aItr++;aIdx++;
}