OSDN Git Service

2003-09-08 Dave Brolley <brolley@redhat.com>
authorbrolley <brolley>
Mon, 8 Sep 2003 17:17:22 +0000 (17:17 +0000)
committerbrolley <brolley>
Mon, 8 Sep 2003 17:17:22 +0000 (17:17 +0000)
commit2f22a356936915435ecd33919ce598d9b82ebe92
tree7ad761a5e82dbef78e8d4c7108ec852373540914
parentc41b682e209a425a186f8729ee3382558f4b5b60
2003-09-08  Dave Brolley  <brolley@redhat.com>

        On behalf of Doug Evans <dje@sebabeach.org>
        Pass in paths to input files, instead of assuming they live in
        $srcdir/cpu.  Plus misc. option processing cleanup.
        * cgen-doc.scm (doc-arguments): Make options strings not symbols.
        Add pre-process pass to all options.
        * cgen-gas.scm (gas-arguments): Ditto.
        * cgen-sid.scm (sim-arguments): Ditto.
        * cgen-sim.scm (sim-arguments): Ditto.
        * cgen-stest.scm (stest-arguments): Ditto.
        * cgen-opc.scm (opc-arguments): Ditto.  New argument -OPC.
        (-opc-file-path): New global.
        (opc-file-path): New fn.
        * opcodes.scm (read-cpu.opc): Replace srcdir,cpu args with opc-file.
        All callers updated.
        (gen-extra-cpu.h,gen-extra-cpu.c,gen-extra-opc.h,gen-extra-opc.c,
        gen-extra-asm.c,gen-extra-dis.c,gen-extra-ibld.h,gen-extra-ibld.c):
        Replace srcdir arg with opc-file.  All callers updated.
        * read.scm (-opt-spec-update): Delete.
        (opt-get-first-pass,opt-get-second-pass): New fns.
        (-cgen): Process application-specific arguments in two passes.
13 files changed:
cgen/ChangeLog
cgen/cgen-doc.scm
cgen/cgen-gas.scm
cgen/cgen-opc.scm
cgen/cgen-sid.scm
cgen/cgen-sim.scm
cgen/cgen-stest.scm
cgen/desc-cpu.scm
cgen/opc-asmdis.scm
cgen/opc-ibld.scm
cgen/opc-itab.scm
cgen/opcodes.scm
cgen/read.scm