Author: tkreuzer Date: Sat Jan 30 04:17:11 2010 New Revision: 45337
URL: http://svn.reactos.org/svn/reactos?rev=45337&view=rev Log: remove the RIP() hack, instead use a constant rip=0 for MASM/ML
Modified: branches/ros-amd64-bringup/reactos/include/reactos/asm.h
Modified: branches/ros-amd64-bringup/reactos/include/reactos/asm.h URL: http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/reactos/includ... ============================================================================== --- branches/ros-amd64-bringup/reactos/include/reactos/asm.h [iso-8859-1] (original) +++ branches/ros-amd64-bringup/reactos/include/reactos/asm.h [iso-8859-1] Sat Jan 30 04:17:11 2010 @@ -18,7 +18,7 @@ #define VAL(x) x
/* MASM/ML doesn't want explicit [rip] addressing */ -#define RIP(address) [address] +rip = 0
/* Due to MASM's reverse syntax, we are forced to use a precompiler macro */ #define MACRO(name, ...) name MACRO __VA_ARGS__ @@ -59,9 +59,6 @@
/* Macro values need to be marked */ #define VAL(x) \x - -/* GAS needs explicit [rip] addressing */ -#define RIP(address) address##[rip]
/* Due to MASM's reverse syntax, we are forced to use a precompiler macro */ #define MACRO(...) .macro __VA_ARGS__