elf2e32 to emit .extern instead of .comm directives for --asm=gas, --dump=a. Interim solution for bugs 3117 and 2979
authorMike Kinghan <mikek@symbian.org>
Tue, 13 Jul 2010 14:39:25 +0100
changeset 23 0a67eddbe320
parent 22 f76056b903a8
child 24 936784880b21
elf2e32 to emit .extern instead of .comm directives for --asm=gas, --dump=a. Interim solution for bugs 3117 and 2979
e32tools/elf2e32/source/filedump.cpp
--- a/e32tools/elf2e32/source/filedump.cpp	Fri Jul 02 11:11:13 2010 +0100
+++ b/e32tools/elf2e32/source/filedump.cpp	Tue Jul 13 14:39:25 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++;
 		}