Reset dot in all sections. write_globals() only does it...

if there is an object file.
This commit is contained in:
Olaf Seibert 2015-05-08 02:03:23 +02:00
parent 3b6637f82d
commit 4849f7f039

View File

@ -353,7 +353,15 @@ int main(
stack_push(&stack, str);
}
/*
* Reset dot in all sections. write_globals() only does it
* if there is an object file.
*/
for (i = 0; i < sector; i++) {
sections[i]->pc = 0;
}
DOT = 0;
current_pc->section = &blank_section;
last_dot_section = NULL;