ELF linker: Increment curSymbol after filling in the fields of the current entry
The bug was introduced in a8b7cef4 which added a field to the
symbols
array elements and then updated this code incorrectly:
- oc->symbols[curSymbol++] = nm;
+ oc->symbols[curSymbol++].name = nm;
+ oc->symbols[curSymbol].addr = symbol->addr;
Edited by Ömer Sinan Ağacan