aboutsummaryrefslogtreecommitdiff
path: root/tcctok.h
diff options
context:
space:
mode:
authorMichael Matz <matz@suse.de>2016-08-07 04:27:32 +0200
committerMichael Matz <matz@suse.de>2016-12-15 17:47:10 +0100
commitc4edfb4e0804aa005ee9e199420a17828076120a (patch)
tree4fd3b5db597dce06a0ce603ccfaa73eea6f7834a /tcctok.h
parent34fc6435ee17e6d2bbfffc367532cf340cf730a2 (diff)
downloadtinycc-c4edfb4e0804aa005ee9e199420a17828076120a.tar.gz
tinycc-c4edfb4e0804aa005ee9e199420a17828076120a.tar.bz2
tccasm: Implement .set sym, expr
That, as well as "sym = expr", if expr contains symbols. Slightly tricky because a definition from .set is overridable, whereas proper definitions aren't. This doesn't yet allow using this for override tricks from C and global asm blocks because the symbol tables from C and asm are separate.
Diffstat (limited to 'tcctok.h')
-rw-r--r--tcctok.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tcctok.h b/tcctok.h
index 9bbe879..775b338 100644
--- a/tcctok.h
+++ b/tcctok.h
@@ -308,6 +308,7 @@
DEF_ASMDIR(align)
DEF_ASMDIR(balign)
DEF_ASMDIR(p2align)
+ DEF_ASMDIR(set)
DEF_ASMDIR(skip)
DEF_ASMDIR(space)
DEF_ASMDIR(string)