Author: tkreuzer Date: Sat Jan 30 04:11:39 2010 New Revision: 45335
URL: http://svn.reactos.org/svn/reactos?rev=45335&view=rev Log: use .altmacro for gas and hack the UNIMPLEMENTED macro
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:11:39 2010 @@ -51,6 +51,8 @@ /* Force intel syntax */ .intel_syntax noprefix .code64 + +.altmacro
/* Hex numbers need to be in 0x1AB format */ #define HEX(x) 0x##x @@ -138,9 +140,11 @@ .macro .endprolog .endm
-.macro UNIMPLEMENTED2 file, line, func +// Note the file1. This is a hack, as "\file" doesn't work with __FILE__, when +// .altmacro is specified. +.macro UNIMPLEMENTED2 file1, line, func + jmp 3f - .equ expr, 12 1: .asciz "\func" 2: .asciz "\file" 3: