diff options
author | Ömer Sinan Ağacan <omeragacan@gmail.com> | 2020-05-06 21:56:40 +0300 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2020-05-08 15:30:30 -0400 |
commit | ea86360f21e8c9812acba8dc1bc2a54fef700ece (patch) | |
tree | d6dc17abd8eca21862ccce91ba55153540ead8f0 /rts | |
parent | aa318338b753ab6e9db44cf2c2d285827eb35a03 (diff) | |
download | haskell-ea86360f21e8c9812acba8dc1bc2a54fef700ece.tar.gz |
Linker.c: initialize n_symbols of ObjectCode with other fields
Diffstat (limited to 'rts')
-rw-r--r-- | rts/Linker.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/rts/Linker.c b/rts/Linker.c index 1437009aed..21abcc6e86 100644 --- a/rts/Linker.c +++ b/rts/Linker.c @@ -1326,6 +1326,7 @@ mkOc( pathchar *path, char *image, int imageSize, setOcInitialStatus( oc ); oc->fileSize = imageSize; + oc->n_symbols = 0; oc->symbols = NULL; oc->n_sections = 0; oc->sections = NULL; |