When searching for the symbol table and string table we were looking for ".symtab" and ".strtab" in the section names. Instead of doing that, look for section type SHT_SYMTAB for the symbol table and follow the link in sh_link to find the corresponding string table. This is a more correct way of doing things and will work better when the toolchain doesn't generate ".symtab" and ".strtab" names and it will work when there are multiple symbol tables.
When searching for the symbol table and string table we were looking
for ".symtab" and ".strtab" in the section names. Instead of doing that,
look for section type SHT_SYMTAB for the symbol table and follow the link
in sh_link to find the corresponding string table. This is a more correct
way of doing things and will work better when the toolchain doesn't
generate ".symtab" and ".strtab" names and it will work when there are
multiple symbol tables.

noone objected to this diff for at least a week.

orumin/openbsd-efivars,orumin/openbsd-efivars,orumin/openbsd-efivars,orumin/openbsd-efivars