first support of x86_64 assembly
This commit is contained in:
6
tccasm.c
6
tccasm.c
@ -584,6 +584,12 @@ static void asm_parse_directive(TCCState *s1)
|
||||
s1->seg_size = 32;
|
||||
}
|
||||
break;
|
||||
#endif
|
||||
#ifdef TCC_TARGET_X86_64
|
||||
/* added for compatibility with GAS */
|
||||
case TOK_ASM_code64:
|
||||
next();
|
||||
break;
|
||||
#endif
|
||||
default:
|
||||
error("unknown assembler directive '.%s'", get_tok_str(tok, NULL));
|
||||
|
||||
Reference in New Issue
Block a user