diff --git a/xb.bat b/xb.bat index fd3ae32ae..683be495d 100644 --- a/xb.bat +++ b/xb.bat @@ -323,7 +323,7 @@ FOR %%G in (*.s) DO ( SET SRC_FILE=%TEST_SRC%/%%G SET SRC_NAME=%%~nG SET OBJ_FILE=%TEST_BIN%/!SRC_NAME!.o - CMD /c %PPC_AS% -a64 -be -mregnames -mpower7 -maltivec -mvsx -mvmx128 -R -o !OBJ_FILE! !SRC_FILE! 2>&1 + CMD /c %PPC_AS% -a32 -be -mregnames -mpower7 -maltivec -mvsx -mvmx128 -R -o !OBJ_FILE! !SRC_FILE! 2>&1 IF !ERRORLEVEL! NEQ 0 ( SET ANY_ERRORS=1 ) @@ -334,7 +334,7 @@ FOR %%G in (*.s) DO ( REM Eat the first 4 lines to kill the file path that'll differ across machines. MORE +4 %TEST_BIN_WIN%\!SRC_NAME!.dis.tmp > %TEST_BIN_WIN%\!SRC_NAME!.dis DEL %TEST_BIN_WIN%\!SRC_NAME!.dis.tmp - %PPC_LD% -A powerpc:common64 -melf64ppc -EB -nostdlib --oformat binary -Ttext 0x80000000 -e 0x80000000 -o %TEST_BIN%/!SRC_NAME!.bin !OBJ_FILE! + %PPC_LD% -A powerpc:common32 -melf32ppc -EB -nostdlib --oformat binary -Ttext 0x80000000 -e 0x80000000 -o %TEST_BIN%/!SRC_NAME!.bin !OBJ_FILE! IF !ERRORLEVEL! NEQ 0 ( SET ANY_ERRORS=1 )