When computing the value of an entry in the string table, don't just add strtab to s->n_un.n_strx since we may have multiple string tables (for instance in the case of lkms).  Instead, add in t->end whcih in a.out will be the start of the string table for this symtab. OK'd by niklas@
When computing the value of an entry in the string table, don't
just add strtab to s->n_un.n_strx since we may have multiple string
tables (for instance in the case of lkms).  Instead, add in t->end
whcih in a.out will be the start of the string table for this symtab.
OK'd by niklas@

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