* Makefile.in (MACHMODE_H): Add @extra_modes_file@.
commit6f432b5846a7fecc8e5dba4f0ceda0c17f5902a5
authorzack <zack@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 10 Jun 2002 22:35:56 +0000 (10 22:35 +0000)
committerzack <zack@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 10 Jun 2002 22:35:56 +0000 (10 22:35 +0000)
tree3704f68e05aa74e7be1ef03c29f2586c2068a4d5
parentf23d9a226033360078f2f60274c9d63ea1ee4a9c
* Makefile.in (MACHMODE_H): Add @extra_modes_file@.
* configure.in: If $srcdir/config/${cpu_type}/${cpu_type}-modes.def
exists, substitute its pathname as @extra_modes_file@, define
EXTRA_MODES_FILE to be an appropriate string to #include it
with, and define EXTRA_CC_MODES to 1.

* machmode.def: Update comments.  Include EXTRA_MODES_FILE if
it's defined.  Get rid of redundancy in calling sequence for
CC; don't use it to define CCmode, to avoid a warning.
* libgcc2.c: Include symcat.h for the sake of machmode.def.

* arc-modes.def, arm-modes.def, c4x-modes.def, i386-modes.def,
i960-modes.def, ia64-modes.def, m88k-modes.def, mmix-modes.def,
pa-modes.def, pdp11-modes.def, rs6000-modes.def, sparc-modes.def:
New files.
* arc.h, arm.h, c4x.h, i386.h, i960.h, ia64.h, m88k.h, mmix.h,
pa.h, pdp11.h, rs6000.h, sparc.h: Don't define EXTRA_CC_MODES.

* doc/sourcebuild.texi, doc/tm.texi: Document new scheme for
defining extra CC modes.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54478 138bc75d-0d04-0410-961f-82ee72b054a4
35 files changed:
gcc/ChangeLog
gcc/Makefile.in
gcc/config.in
gcc/config/arc/arc-modes.def [new file with mode: 0644]
gcc/config/arc/arc.h
gcc/config/arm/arm-modes.def [new file with mode: 0644]
gcc/config/arm/arm.h
gcc/config/c4x/c4x-modes.def [new file with mode: 0644]
gcc/config/c4x/c4x.h
gcc/config/i386/i386-modes.def [new file with mode: 0644]
gcc/config/i386/i386.h
gcc/config/i960/i960-modes.def [new file with mode: 0644]
gcc/config/i960/i960.h
gcc/config/ia64/ia64-modes.def [new file with mode: 0644]
gcc/config/ia64/ia64.h
gcc/config/m88k/m88k-modes.def [new file with mode: 0644]
gcc/config/m88k/m88k.h
gcc/config/mmix/mmix-modes.def [new file with mode: 0644]
gcc/config/mmix/mmix.h
gcc/config/pa/pa-modes.def [new file with mode: 0644]
gcc/config/pa/pa.h
gcc/config/pdp11/pdp11-modes.def [new file with mode: 0644]
gcc/config/pdp11/pdp11.h
gcc/config/rs6000/rs6000-modes.def [new file with mode: 0644]
gcc/config/rs6000/rs6000.h
gcc/config/s390/s390-modes.def [new file with mode: 0644]
gcc/config/s390/s390.h
gcc/config/sparc/sparc-modes.def [new file with mode: 0644]
gcc/config/sparc/sparc.h
gcc/configure
gcc/configure.in
gcc/doc/sourcebuild.texi
gcc/doc/tm.texi
gcc/libgcc2.c
gcc/machmode.def