From c4edfb4e0804aa005ee9e199420a17828076120a Mon Sep 17 00:00:00 2001 From: Michael Matz Date: Sun, 7 Aug 2016 04:27:32 +0200 Subject: 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. --- tcctok.h | 1 + 1 file changed, 1 insertion(+) (limited to 'tcctok.h') 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) -- cgit v1.3.1