mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 21:45:41 +00:00
[UCRT][ASM] Make asm code GCC compatible
This commit is contained in:
parent
4fec953e6e
commit
94eb475177
22 changed files with 698 additions and 555 deletions
|
@ -316,8 +316,10 @@ ENDM
|
|||
.endm
|
||||
|
||||
/* MASM compatible ALIGN */
|
||||
#define ALIGN .align
|
||||
#define align .align
|
||||
.macro align x
|
||||
.align x
|
||||
.endm
|
||||
#define ALIGN align
|
||||
|
||||
/* MASM compatible REPEAT, additional ENDR */
|
||||
#define REPEAT .rept
|
||||
|
@ -352,6 +354,7 @@ ENDM
|
|||
|
||||
/* MASM needs an END tag */
|
||||
#define END
|
||||
#define end
|
||||
|
||||
.macro .MODEL model
|
||||
.endm
|
||||
|
@ -359,6 +362,7 @@ ENDM
|
|||
.macro .code
|
||||
.text
|
||||
.endm
|
||||
#define CODESEG .code
|
||||
|
||||
.macro .const
|
||||
.section .rdata
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue