elf: clean up and unify symbol ref handling in relocs

Also, this lets us re-enable proper undefined symbols tracking.
1a6d12ea92Jakub Konka committed on 9/12/2023, 9:27:14 PMparent9719fa7
6 files changedLine totals unavailable