summaryrefslogtreecommitdiff
path: root/compiler/GHC/Settings.hs
diff options
context:
space:
mode:
authorÖmer Sinan Ağacan <omeragacan@gmail.com>2020-05-04 15:53:10 +0300
committerMarge Bot <ben+marge-bot@smart-cactus.org>2020-05-06 04:42:39 -0400
commita95e7fe02efd2fdeec91ba46de64bc78c81381eb (patch)
treeb39a517932cb887158d787eb0edba78bd04c24ac /compiler/GHC/Settings.hs
parentedec6a6c205378caf15d1d874d7e901ba76dd293 (diff)
downloadhaskell-a95e7fe02efd2fdeec91ba46de64bc78c81381eb.tar.gz
ELF linker: increment curSymbol after filling in fields of current entry
The bug was introduced in a8b7cef4d45 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;
Diffstat (limited to 'compiler/GHC/Settings.hs')
0 files changed, 0 insertions, 0 deletions