# HG changeset patch # User mikek # Date 1278065473 -3600 # Node ID f76056b903a860ac4cfc94329d8eb237bc2302f7 # Parent cdfb74fd77ed476dc027e7cbba563d2ebcdbf9fa 1) A better fix for Bug 2979 - [GCCE] elf2e32 --dump generates RVCT assembly. 2) A fix for Bug 3117 - [GCCE] Missing symbols in linkage of template_ekern.exe. Same fix for both bugs, though they are no duplicates. diff -r cdfb74fd77ed -r f76056b903a8 e32tools/elf2e32/source/filedump.cpp --- a/e32tools/elf2e32/source/filedump.cpp Mon Jun 21 15:25:11 2010 +0100 +++ b/e32tools/elf2e32/source/filedump.cpp Fri Jul 02 11:11:13 2010 +0100 @@ -215,39 +215,12 @@ aItr++; continue; } - - fputs("\t.extern ",fptr); + fputs("\t.common ",fptr); fputs(aSym->SymbolName(),fptr); - fputs("\n",fptr); + fputs(" 4\n",fptr); aItr++; } - // Create a directive section that instructs the linker to make all listed - // symbols visible. - - fputs("\t.text\n\n",fptr); - - fputs("\t.ascii \"##\\n\"\n", fptr); - - aItr = aSymList->begin(); - while (aItr != last) - { - aSym = *aItr; - - if ( aSym->Absent() ) - { - aItr++; - continue; - } - - // Example: - // DCB "EXPORT __ARM_ll_mlass\n" - fputs("\t.ascii \"EXPORT ",fptr); - fputs(aSym->SymbolName(),fptr); - fputs("\\n\"\n", fptr); - - aItr++; - } fclose(fptr); } return 0;