X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?p=rmac;a=blobdiff_plain;f=rmac.c;h=ba0f63cc54432fb413b15cc8ab9d51c2ee6c4039;hp=0c663b40a0af0cca1b76faed1e2e73bad35f9f82;hb=389f084bc1cd30b98d196fe57d083c8f6637e6d6;hpb=f4e9bcd703852c51c97d2586872b9b26389899e6 diff --git a/rmac.c b/rmac.c index 0c663b4..ba0f63c 100644 --- a/rmac.c +++ b/rmac.c @@ -133,6 +133,7 @@ void DisplayHelp(void) " -n Don't do things behind your back in RISC assembler\n" " -o file Output file name\n" " -p[n] Create an ST .prg (1=normal, 2=w/symbols)\n" + " Forces -fa\n" " -r[size] Pad segments to boundary size specified\n" " w: word (2 bytes, default alignment)\n" " l: long (4 bytes)\n" @@ -317,6 +318,10 @@ int Process(int argc, char ** argv) ++errcnt; return errcnt; } + + // Enforce Alcyon object format - kind of silly + // to ask for .prg output without it! + obj_format = ALCYON; break; case 'r': // Pad seg to requested boundary size case 'R': @@ -444,7 +449,6 @@ int Process(int argc, char ** argv) strcpy(fnbuf, firstfname); fext(fnbuf, (prg_flag ? ".prg" : ".o"), 1); - fext(fnbuf, ".o", 1); objfname = fnbuf; }