dwarf: fix incorrect type reloc for unions

Split type relocs into two kinds: local and global. Global relocs
use a global type resolver and calculate offset to the existing
definition of a type abbreviation.

Local relocs use offset in the abbrev section of the containing
atom plus addend to generate a local relocation.
e05de31a5fJakub Konka committed on 6/6/2022, 5:58:51 PMparent0cab01a
6 files changedLine totals unavailable