More symbol table work

Signed-off-by: Vinzenz Feenstra <evilissimo@gmail.com>