From ff5561ff7d699eb9e30e95f1e2cfd1e98e5a990d Mon Sep 17 00:00:00 2001 From: Michael Matz Date: Wed, 29 Jun 2016 19:22:07 +0200 Subject: x86-64-asm: Accept expressions for .quad The x86-64 target has 64bit relocs, and hence can accept generic expressions for '.quad'. --- tcc.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tcc.h') diff --git a/tcc.h b/tcc.h index 7279150..f1d577b 100644 --- a/tcc.h +++ b/tcc.h @@ -1526,6 +1526,9 @@ ST_FUNC int asm_int_expr(TCCState *s1); ST_FUNC int tcc_assemble(TCCState *s1, int do_preprocess); /* ------------ i386-asm.c ------------ */ ST_FUNC void gen_expr32(ExprValue *pe); +#ifdef TCC_TARGET_X86_64 +ST_FUNC void gen_expr64(ExprValue *pe); +#endif ST_FUNC void asm_opcode(TCCState *s1, int opcode); ST_FUNC void asm_compute_constraints(ASMOperand *operands, int nb_operands, int nb_outputs, const uint8_t *clobber_regs, int *pout_reg); ST_FUNC void subst_asm_operand(CString *add_str, SValue *sv, int modifier); -- cgit v1.3.1