aboutsummaryrefslogtreecommitdiff
path: root/tcc.h
diff options
context:
space:
mode:
authorMichael Matz <matz@suse.de>2016-06-29 19:22:07 +0200
committerMichael Matz <matz@suse.de>2016-12-15 17:47:07 +0100
commitff5561ff7d699eb9e30e95f1e2cfd1e98e5a990d (patch)
tree5e51fdd0b49127553a4cb24f50b379174a88f6a4 /tcc.h
parent253afeed1e822965804c0f5503bac057e68f08e8 (diff)
downloadtinycc-ff5561ff7d699eb9e30e95f1e2cfd1e98e5a990d.tar.gz
tinycc-ff5561ff7d699eb9e30e95f1e2cfd1e98e5a990d.tar.bz2
x86-64-asm: Accept expressions for .quad
The x86-64 target has 64bit relocs, and hence can accept generic expressions for '.quad'.
Diffstat (limited to 'tcc.h')
-rw-r--r--tcc.h3
1 files changed, 3 insertions, 0 deletions
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);