bug 477678 - Windows CE builds should target ARMv6 r=dougt
authorBrad Lassey <blassey@mozilla.com>
Mon, 09 Feb 2009 19:00:24 -0500
changeset 24800 89ffe60a58ba7b16e4c5bc55be8fbbad33606794
parent 24799 d5f1c222aa28cab55684dc00af603f6290c61925
child 24801 4b02e2009b280048f829050632f4d504ca203b78
push idunknown
push userunknown
push dateunknown
reviewersdougt
bugs477678
milestone1.9.2a1pre
bug 477678 - Windows CE builds should target ARMv6 r=dougt
build/wince/tools/arm-wince-as.c
build/wince/tools/arm-wince-gcc.c
--- a/build/wince/tools/arm-wince-as.c
+++ b/build/wince/tools/arm-wince-as.c
@@ -3,13 +3,14 @@
 int 
 main(int argc, char **argv)
 {  
   char* args[1000];
   int i = 0;
   
   args[i++] = ASM_PATH;
   args[i++] = "-I\"" WCE_INC "\""; 
+  args[i++] = "-CPU ARM1136";  // we target ARM 11 and newer 
 
   i += argpath_conv(&argv[1], &args[i]);
 
   return run(args);
 }
--- a/build/wince/tools/arm-wince-gcc.c
+++ b/build/wince/tools/arm-wince-gcc.c
@@ -25,16 +25,17 @@ main(int argc, char **argv)
   args[i++] = "/D_WIN32_WCE=0x502";
   args[i++] = "/DUNDER_CE";
 //  args[i++] = "/DWIN32_PLATFORM_WFSP";
   args[i++] = "/DWIN32_PLATFORM_PSPC";
 //  args[i++] = "/DPOCKETPC2003_UI_MODEL";
   args[i++] = "/D_WINDOWS";
   args[i++] = "/DNO_ERRNO";
 
+  args[i++] = "/QRarch6";
   args[i++] = "/Zc:wchar_t-";          //
   args[i++] = "/GS-";                  // disable security checks
   args[i++] = "/GR-";                  // disable C++ RTTI
   args[i++] = "/fp:fast";
 
   startOfArgvs = i;
 
   i += argpath_conv(&argv[1], &args[i]);