declare procno and holno, extend_ilb changed
This commit is contained in:
parent
4757be8bf6
commit
712ba56ce8
7 changed files with 18 additions and 4 deletions
|
@ -29,6 +29,8 @@
|
||||||
#define relocEM_PSIZE reloc4
|
#define relocEM_PSIZE reloc4
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
extern int procno;
|
||||||
|
|
||||||
C_bss_ilb( n, l, i)
|
C_bss_ilb( n, l, i)
|
||||||
arith n;
|
arith n;
|
||||||
label l;
|
label l;
|
||||||
|
@ -42,6 +44,6 @@ int i;
|
||||||
dump_label();
|
dump_label();
|
||||||
|
|
||||||
for ( i = 0; i < n/EM_PSIZE; i++)
|
for ( i = 0; i < n/EM_PSIZE; i++)
|
||||||
relocEM_PSIZE( extnd_ilb( l), 0, ABSOLUTE);
|
relocEM_PSIZE( extnd_ilb( l, procno), 0, ABSOLUTE);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -29,11 +29,13 @@
|
||||||
#define relocEM_PSIZE reloc4
|
#define relocEM_PSIZE reloc4
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
extern int procno;
|
||||||
|
|
||||||
C_con_ilb( l)
|
C_con_ilb( l)
|
||||||
label l;
|
label l;
|
||||||
{
|
{
|
||||||
switchseg( SEGCON);
|
switchseg( SEGCON);
|
||||||
dump_label();
|
dump_label();
|
||||||
|
|
||||||
relocEM_PSIZE( extnd_ilb( l), 0, ABSOLUTE);
|
relocEM_PSIZE( extnd_ilb( l, procno), 0, ABSOLUTE);
|
||||||
}
|
}
|
||||||
|
|
|
@ -29,6 +29,8 @@
|
||||||
#define relocEM_PSIZE reloc4
|
#define relocEM_PSIZE reloc4
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
extern int holno;
|
||||||
|
|
||||||
C_hol_dlb( n, l, offs, i)
|
C_hol_dlb( n, l, offs, i)
|
||||||
arith n, offs;
|
arith n, offs;
|
||||||
label l;
|
label l;
|
||||||
|
|
|
@ -29,6 +29,8 @@
|
||||||
#define relocEM_PSIZE reloc4
|
#define relocEM_PSIZE reloc4
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
extern int holno;
|
||||||
|
|
||||||
C_hol_dnam( n, s, offs, i)
|
C_hol_dnam( n, s, offs, i)
|
||||||
arith n, offs;
|
arith n, offs;
|
||||||
char *s;
|
char *s;
|
||||||
|
|
|
@ -29,6 +29,8 @@
|
||||||
#define relocEM_PSIZE reloc4
|
#define relocEM_PSIZE reloc4
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
extern int holno, procno;
|
||||||
|
|
||||||
C_hol_ilb( n, l, i)
|
C_hol_ilb( n, l, i)
|
||||||
arith n;
|
arith n;
|
||||||
label l;
|
label l;
|
||||||
|
@ -47,6 +49,6 @@ int i;
|
||||||
symbol_definition( extnd_hol( ++holno));
|
symbol_definition( extnd_hol( ++holno));
|
||||||
|
|
||||||
for ( i = 0; i < n/EM_PSIZE; i++)
|
for ( i = 0; i < n/EM_PSIZE; i++)
|
||||||
relocEM_PSIZE( extnd_ilb( l), 0, ABSOLUTE);
|
relocEM_PSIZE( extnd_ilb( l, procno), 0, ABSOLUTE);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -29,6 +29,8 @@
|
||||||
#define relocEM_PSIZE reloc4
|
#define relocEM_PSIZE reloc4
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
extern int holno;
|
||||||
|
|
||||||
C_hol_pnam( n, s, i)
|
C_hol_pnam( n, s, i)
|
||||||
arith n;
|
arith n;
|
||||||
char *s;
|
char *s;
|
||||||
|
|
|
@ -29,11 +29,13 @@
|
||||||
#define relocEM_PSIZE reloc4
|
#define relocEM_PSIZE reloc4
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
extern int procno;
|
||||||
|
|
||||||
C_rom_ilb( l)
|
C_rom_ilb( l)
|
||||||
label l;
|
label l;
|
||||||
{
|
{
|
||||||
switchseg( SEGROM);
|
switchseg( SEGROM);
|
||||||
dump_label();
|
dump_label();
|
||||||
|
|
||||||
relocEM_PSIZE( extnd_ilb( l), 0, ABSOLUTE);
|
relocEM_PSIZE( extnd_ilb( l, procno), 0, ABSOLUTE);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue