X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=src%2FSDCCglobl.h;h=51174ae3f618e93878f9fcc48ddb5a9733838790;hb=98a8cc0a546d822058cccec0ddb8d8498ea69b7e;hp=8e4e7dc16acef2380ac7e6695b873425f512d807;hpb=1fe6dcfaa0ec9449238f2cfe84ca47650e28d290;p=fw%2Fsdcc diff --git a/src/SDCCglobl.h b/src/SDCCglobl.h index 8e4e7dc1..51174ae3 100644 --- a/src/SDCCglobl.h +++ b/src/SDCCglobl.h @@ -171,7 +171,8 @@ enum MODEL_MEDIUM = 4, MODEL_LARGE = 8, MODEL_FLAT24 = 16, - MODEL_PAGE0 = 32 /* for the xa51 port */ + MODEL_PAGE0 = 32, /* for the xa51 port */ + MODEL_HUGE = 64 /* for banked support */ }; /* overlay segment name and the functions @@ -250,9 +251,11 @@ struct options int printSearchDirs; /* display the directories in the compiler's search path */ int vc_err_style; /* errors and warnings are compatible with Micro$oft visual studio */ int use_stdout; /* send errors to stdout instead of stderr */ - int no_std_crt0; /*For the z80/gbz80 do not link default crt0.o*/ - int std_c99; /* enable C99 keywords/constructs */ - int std_sdcc; /* enable SDCC extensions to C */ + int no_std_crt0; /* for the z80/gbz80 do not link default crt0.o*/ + int std_c99; /* enable C99 keywords/constructs */ + int std_sdcc; /* enable SDCC extensions to C */ + const char *code_seg; /* segment name to use instead of CSEG */ + const 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 */ @@ -260,7 +263,7 @@ struct options }; /* forward definition for variables accessed globally */ -extern int noAssemble; /* no assembly, stop after code generation */ +extern int noAssemble; /* no assembly, stop after code generation */ extern char *yytext; extern char *currFname; extern char *fullSrcFileName; /* full name for the source file; */