Author: ros-arm-bringup
Date: Sat Jul 11 16:57:41 2009
New Revision: 41877
URL: http://svn.reactos.org/svn/reactos?rev=41877&view=rev
Log:
GAS should also receive the -march flag, not just the compiler... otherwise, gcc won't let you use things like "cmov" on x86, or anything beyond the armv4 instruction set on ARM
Modified:
trunk/reactos/tools/rbuild/backend/mingw/mingw.cpp
Modified: trunk/reactos/tools/rbuild/backend/mingw/mingw.cpp
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/tools/rbuild/backend/mingw…
==============================================================================
--- trunk/reactos/tools/rbuild/backend/mingw/mingw.cpp [iso-8859-1] (original)
+++ trunk/reactos/tools/rbuild/backend/mingw/mingw.cpp [iso-8859-1] Sat Jul 11 16:57:41 2009
@@ -456,6 +456,7 @@
if ( ProjectNode.configuration.Compiler == GnuGcc )
{
fprintf ( fMakefile, "ifneq ($(OARCH),)\n" );
+ fprintf ( fMakefile, "PROJECT_ASFLAGS += -march=$(OARCH)\n" );
fprintf ( fMakefile, "PROJECT_CFLAGS += -march=$(OARCH)\n" );
fprintf ( fMakefile, "PROJECT_CXXFLAGS += -march=$(OARCH)\n" );
fprintf ( fMakefile, "endif\n" );
Author: ros-arm-bringup
Date: Sat Jul 11 16:04:26 2009
New Revision: 41870
URL: http://svn.reactos.org/svn/reactos?rev=41870&view=rev
Log:
Just cause it ain't AMD64 ain't meaning it's just x86... so make the macro x86-inclusive instead of x64-exclusive (since we don't want those definitions on ARM either)
Modified:
trunk/reactos/boot/freeldr/freeldr/include/reactos.h
Modified: trunk/reactos/boot/freeldr/freeldr/include/reactos.h
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/boot/freeldr/freeldr/inclu…
==============================================================================
--- trunk/reactos/boot/freeldr/freeldr/include/reactos.h [iso-8859-1] (original)
+++ trunk/reactos/boot/freeldr/freeldr/include/reactos.h [iso-8859-1] Sat Jul 11 16:04:26 2009
@@ -23,7 +23,7 @@
/* Base Addres of Kernel in Physical Memory */
#define KERNEL_BASE_PHYS 0x800000
-#if !defined(_M_AMD64)
+#if defined(_M_IX86)
/* Bits to shift to convert a Virtual Address into an Offset in the Page Table */
#define PFN_SHIFT 12