bfd-provider: Add undefined symbols and symbol numbers

Preparation for handling of relocations.