library/toplevel: fix memory addresses in symtab