Branch: Tag:

2002-04-15

2002-04-15 08:41:52 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Added code to restore the relocation table for the old-style program encoder.

Rev: src/encode.c:1.90

25:   #include "version.h"   #include "bignum.h"    - RCSID("$Id: encode.c,v 1.89 2002/04/15 08:39:20 grubba Exp $"); + RCSID("$Id: encode.c,v 1.90 2002/04/15 08:41:52 grubba Exp $");      /* #define ENCODE_DEBUG */   
755:   #include "program_areas.h"       adddata2(p->program, p->num_program); +  adddata2(p->relocations, p->num_relocations);    adddata2(p->linenumbers, p->num_linenumbers);       for(d=0;d<p->num_identifier_index;d++)
2082:    p->flags |= PROGRAM_OPTIMIZED;       getdata2(p->program, p->num_program); +  getdata2(p->relocations, p->num_relocations);    getdata2(p->linenumbers, p->num_linenumbers);      #ifdef DEBUG_MALLOC