diff options
Diffstat (limited to 'lib/linker.c')
-rw-r--r-- | lib/linker.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/linker.c b/lib/linker.c index f1f371d..c744e54 100644 --- a/lib/linker.c +++ b/lib/linker.c @@ -135,10 +135,13 @@ void addfile(char *nom) readword(f); /* Taille du fichier */ start = readword(f); + fprintf(stderr, "Startpoint: %i\n", start); if ((startpoint != -1) && (start != -1)) { exception(1, _("Startpoint already defined.")); } - startpoint = start + textsize; + if (start != -1) { + startpoint = start + textsize; + } objects[objindex]->s_text = readword(f); objects[objindex]->s_data = readword(f); |