aboutsummaryrefslogtreecommitdiff
path: root/i386-asm.c
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 /i386-asm.c
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 'i386-asm.c')
-rw-r--r--i386-asm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/i386-asm.c b/i386-asm.c
index e532911..2ffa53b 100644
--- a/i386-asm.c
+++ b/i386-asm.c
@@ -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);
}