]> Shamusworld >> Repos - rmac/blobdiff - rmac.c
Fix for bug #187 - add more strict checks for .incbin sizes
[rmac] / rmac.c
diff --git a/rmac.c b/rmac.c
index 8ea0189e02ef740ecce71b59fad8c4b5076140f9..0e070526bbb4c3f18bd583a92a696935bd0db34b 100644 (file)
--- a/rmac.c
+++ b/rmac.c
@@ -29,7 +29,6 @@ int list_flag;                                        // "-l" listing flag on command line
 int list_pag = 1;                              // Enable listing pagination by default
 int verb_flag;                                 // Be verbose about what's going on
 int m6502;                                             // 1, assembling 6502 code
-int as68_flag;                                 // as68 kludge mode
 int glob_flag;                                 // Assume undefined symbols are global
 int lsym_flag;                                 // Include local symbols in object file
 int optim_warn_flag;                   // Warn about possible short branches
@@ -53,7 +52,7 @@ char * cmdlnexec;                             // Executable name, pointer to ARGV[0]
 char searchpatha[512] = { 0 }; // Buffer to hold searchpath when specified
 char * searchpath = NULL;              // Search path for include files
 char defname[] = "noname.o";   // Default output filename
-int optim_flags[OPT_COUNT];            // Specific optimisations on/off matrix
+int optim_flags[OPT_COUNT_ALL];        // Specific optimisations on/off matrix
 int activecpu = CPU_68000;             // Active 68k CPU (68000 by default)
 int activefpu = FPU_NONE;              // Active FPU (none by default)
 int org68k_active = 0;                 // .org switch for 68k (only with RAW output format)
@@ -301,7 +300,6 @@ int Process(int argc, char ** argv)
        listing = 0;                                    // Initialize listing level
        list_flag = 0;                                  // Initialize listing flag
        verb_flag = perm_verb_flag;             // Initialize verbose flag
-       as68_flag = 0;                                  // Initialize as68 kludge mode
        glob_flag = 0;                                  // Initialize .globl flag
        optim_warn_flag = 0;                    // Initialize short branch flag
        debug = 0;                                              // Initialize debug flag