diff --git a/src/obj.cpp b/src/obj.cpp index c98b7f29..913c10eb 100644 --- a/src/obj.cpp +++ b/src/obj.cpp @@ -295,6 +295,7 @@ Obj *AsmReader::read(std::istream &input) { o->chunks.push_back(dc); if (entry) o->entry = o->chunks.size() - 1; if (global) dc->setGlobal(); + chunkCreated = true; } const char *s = yylval.s.c_str(); do {