tccasm: Implement .set sym, expr
commitc4edfb4e0804aa005ee9e199420a17828076120a
authorMichael Matz <matz@suse.de>
Sun, 7 Aug 2016 02:27:32 +0000 (7 04:27 +0200)
committerMichael Matz <matz@suse.de>
Thu, 15 Dec 2016 16:47:10 +0000 (15 17:47 +0100)
tree4fd3b5db597dce06a0ce603ccfaa73eea6f7834a
parent34fc6435ee17e6d2bbfffc367532cf340cf730a2
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.
tccasm.c
tcctok.h
tests/asmtest.S