Commit ea86360f authored by Ömer Sinan Ağacan's avatar Ömer Sinan Ağacan Committed by Marge Bot

Linker.c: initialize n_symbols of ObjectCode with other fields

parent aa318338
......@@ -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;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment