Apply kernigh@'s fix to broken symbol tables in aelflod (via mailing list patch):
authorDavid Given <dg@cowlark.com>
Tue, 17 Jan 2017 23:06:14 +0000 (00:06 +0100)
committerDavid Given <dg@cowlark.com>
Tue, 17 Jan 2017 23:06:14 +0000 (00:06 +0100)
commit01a61e07084cd2484984e04a893e23bee124fe37
treee3bb854b0d2acc33b50e0bec6118777b37b20eef
parent81c677d218a3f14c8b94e9dbfca055ba27f6610a
Apply kernigh@'s fix to broken symbol tables in aelflod (via mailing list patch):

---snip---
The ELF spec at http://www.sco.com/developers/gabi/ says, "In each
symbol table, all symbols with STB_LOCAL binding precede the weak and
global symbols," and that sh_info is the index of the first non-local
symbol.

I was mixing local and global symbols and setting sh_info to zero. I
also forgot to set the type of the .shstrtab section.
---snip---
util/amisc/aelflod.c