[ASM] Fixed ".double" macro in asm.inc.

GAS uses ".double" symbol for declaring floating-point constants and
".quad" symbol for declaring 64-bit numbers.
This is not compatible with our macro for MASM and introduces bugs.
Now 64-bit constants are supposed to be declared using ".quad" macro.
This commit is contained in:
Victor Perevertkin 2018-07-15 18:49:49 +03:00 committed by Hermès BÉLUSCA - MAÏTO
parent 4ffa0a2e55
commit 2ae1675208
3 changed files with 10 additions and 6 deletions

View file

@ -8,18 +8,18 @@
MACRO(START_VTABLE, shortname, cxxname)
EXTERN shortname&_rtti:PROC
EXTERN MSVCRT_&shortname&_vector_dtor:PROC
.double shortname&_rtti
.quad shortname&_rtti
PUBLIC MSVCRT_&shortname&_vtable
MSVCRT_&shortname&_vtable:
PUBLIC &cxxname
&cxxname:
.double MSVCRT_&shortname&_vector_dtor
.quad MSVCRT_&shortname&_vector_dtor
ENDM
MACRO(DEFINE_EXCEPTION_VTABLE, shortname, cxxname)
START_VTABLE shortname, cxxname
EXTERN MSVCRT_what_exception:ABS
.double MSVCRT_what_exception
.quad MSVCRT_what_exception
ENDM
START_VTABLE type_info, __dummyname_type_info