x86-64-asm: Accept expressions for .quad

The x86-64 target has 64bit relocs, and hence can accept
generic expressions for '.quad'.
This commit is contained in:
Michael Matz
2016-06-29 19:22:07 +02:00
parent 253afeed1e
commit ff5561ff7d
4 changed files with 14 additions and 1 deletions

View File

@ -433,7 +433,7 @@ ST_FUNC void gen_expr32(ExprValue *pe)
}
#ifdef TCC_TARGET_X86_64
static void gen_expr64(ExprValue *pe)
ST_FUNC void gen_expr64(ExprValue *pe)
{
gen_addr64(pe->sym ? VT_SYM : 0, pe->sym, pe->v);
}