elf2e32 to emit .extern instead of .comm directives for --asm=gas, --dump=a. Interim solution for bugs 3117 and 2979 GCC_SURGE
authorMike Kinghan <mikek@symbian.org>
Tue, 13 Jul 2010 15:47:33 +0100
branchGCC_SURGE
changeset 65 5bf94ed61975
parent 61 b376866b09e6
child 67 77c47a56e1f7
elf2e32 to emit .extern instead of .comm directives for --asm=gas, --dump=a. Interim solution for bugs 3117 and 2979
toolsandutils/e32tools/elf2e32/source/filedump.cpp
--- a/toolsandutils/e32tools/elf2e32/source/filedump.cpp	Tue Jul 06 16:56:48 2010 +0100
+++ b/toolsandutils/e32tools/elf2e32/source/filedump.cpp	Tue Jul 13 15:47:33 2010 +0100
@@ -215,9 +215,9 @@
 				aItr++;
 				continue;
 			}
-			fputs("\t.common ",fptr);
+			fputs("\t.extern ",fptr);
 			fputs(aSym->SymbolName(),fptr);
-			fputs(" 4\n",fptr);
+			fputs("\n",fptr);
 			aItr++;
 		}