first support of x86_64 assembly

This commit is contained in:
Frederic Feret
2009-08-27 09:53:50 +02:00
committed by grischka
parent 0d768b9713
commit 526c464504
8 changed files with 1973 additions and 221 deletions

View File

@ -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));