X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=src%2FSDCCglobl.h;h=7166d88177841520743536b7ec1e7a3134ec55d7;hb=5a1d5e778e85664f4e6657019348b4756b16eacb;hp=a85be4b76d140dc9234109f314293eae604c89ec;hpb=ac423fe4107206080b692f3a6e6a4fdd9b48f0b6;p=fw%2Fsdcc diff --git a/src/SDCCglobl.h b/src/SDCCglobl.h index a85be4b7..7166d881 100644 --- a/src/SDCCglobl.h +++ b/src/SDCCglobl.h @@ -263,6 +263,7 @@ struct options int parms_in_bank1; /* DS390 - use reg bank1 to pass parameters */ int stack_size; /* MCS51/DS390 - Tells the linker to allocate this space for stack */ int no_pack_iram; /* MCS51/DS390 - Tells the linker not to pack variables in internal ram */ + int acall_ajmp; /* MCS51 - Use acall/ajmp instead of lcall/ljmp */ /* starting address of the segments */ int xstack_loc; /* initial location of external stack */ int stack_loc; /* initial value of internal stack pointer */ @@ -288,8 +289,8 @@ struct options int std_sdcc; /* enable SDCC extensions to C */ int dollars_in_ident; /* zero means dollar signs are punctuation */ int unsigned_char; /* use unsigned for char without signed/unsigned modifier */ - const char *code_seg; /* segment name to use instead of CSEG */ - const char *const_seg; /* segment name to use instead of CONST */ + char *code_seg; /* segment name to use instead of CSEG */ + char *const_seg; /* segment name to use instead of CONST */ /* sets */ set *calleeSavesSet; /* list of functions using callee save */ set *excludeRegsSet; /* registers excluded from saving */ @@ -324,7 +325,8 @@ extern int RegBankUsed[4]; /* JCF: register banks used SDCCmain.c */ extern int BitBankUsed; /* MB: overlayable bit bank SDCCmain.c */ extern struct symbol *currFunc; /* current function SDCCgens.c */ extern int cNestLevel; /* block nest level SDCCval.c */ -extern int currBlockno; /* sequentail block number */ +extern int blockNo; /* maximum sequential block number */ +extern int currBlockno; /* sequential block number */ extern struct optimize optimize; extern struct options options; extern unsigned maxInterrupts;