diff options
author | Joel Sherrill <joel@OARcorp.com> | 2002-02-13 22:49:03 +0000 |
---|---|---|
committer | Joel Sherrill <joel@gcc.gnu.org> | 2002-02-13 22:49:03 +0000 |
commit | f22b4bc43d0fb8af1928d6a702dae4121cf138c2 (patch) | |
tree | db76c89c06b96d7cdc2ea6c1b734a02afec534fa /gcc/config/m68k | |
parent | 8686336f51b1197f22304f92b63780169be7c54b (diff) | |
download | gcc-f22b4bc43d0fb8af1928d6a702dae4121cf138c2.zip gcc-f22b4bc43d0fb8af1928d6a702dae4121cf138c2.tar.gz gcc-f22b4bc43d0fb8af1928d6a702dae4121cf138c2.tar.bz2 |
config.gcc (a29k-*-rtems): General cleanup across all RTEMS targets...
2002-02-13 Joel Sherrill <joel@OARcorp.com>
* config.gcc (a29k-*-rtems), config/a29k/rtems.h: General cleanup across
all RTEMS targets including removal of #includes from config/*/rtems*.h
file and adding them to tm_file setting. Added xm_defines=POSIX to
many targets.
* config.gcc (c4x-*-rtems), config/c4x/rtems.h: Ditto.
* config.gcc (h8300-*-rtems), config/h8300/rtems.h: Ditto.
* config.gcc (hppa1.1-*-rtems), config/pa/rtems.h: Ditto.
* config.gcc (i960-*-rtems), config/i960/rtems.h: Ditto.
* config.gcc (m68k-*-rtems*), config/m68k/rtems.h,
config/m68k/rtemself.h: Ditto.
* config.gcc (mips*-*-rtems*), config/mips/rtems.h,
config/mips/rtems64.h: Ditto.
* config.gcc (powerpc-*-rtems*), config/rs6000/rtems.h: Ditto.
* config.gcc (sh-*-rtems*), config/sh/rtems.h, config/sh/rtemself.h:
Ditto.
* config.gcc (sparc-*-rtems*), config/sparc/rtems.h,
config/sparc/rtemself.h: Ditto.
* config.gcc (v850-*-rtems*), config/v850/rtems.h: Ditto.
* config.gcc (arm-rtems), config/arm/rtems-elf.h: Ditto plus moved
arm-rtems stanza closer to other arm-elf targets and made arm-rtems
more like arm-elf.
* config.gcc (i[34567]86-*-rtems*), config/i386/djgpp-rtems.h,
config/i386/rtems.h, config/i386/rtemself.h: Ditto plus i386-rtemself
target made more similar to i386-elf.
* config/i386/t-rtems-i386: Added soft float support and multilibs.
* config/m68k/t-m68kbare: Add 68040 and 68060 as multilib alternatives to
be similar to config/m68k/t-m68kelf.
* gthr-rtems.h: Encapsulate with extern "C" for C++.
From-SVN: r49749
Diffstat (limited to 'gcc/config/m68k')
-rw-r--r-- | gcc/config/m68k/rtems.h | 9 | ||||
-rw-r--r-- | gcc/config/m68k/rtemself.h | 9 | ||||
-rw-r--r-- | gcc/config/m68k/t-m68kbare | 4 |
3 files changed, 6 insertions, 16 deletions
diff --git a/gcc/config/m68k/rtems.h b/gcc/config/m68k/rtems.h index 0b0fb82..89b5160 100644 --- a/gcc/config/m68k/rtems.h +++ b/gcc/config/m68k/rtems.h @@ -1,5 +1,5 @@ /* Definitions for rtems targeting a Motorola m68k using coff. - Copyright (C) 1996, 1997, 2000 Free Software Foundation, Inc. + Copyright (C) 1996, 1997, 2000, 2002 Free Software Foundation, Inc. Contributed by Joel Sherrill (joel@OARcorp.com). This file is part of GNU CC. @@ -19,18 +19,13 @@ along with GNU CC; see the file COPYING. If not, write to the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -#include "m68k/m68k-coff.h" - /* Specify predefined symbols in preprocessor. */ #undef CPP_PREDEFINES -#define CPP_PREDEFINES "-Dmc68000 -Drtems -D__rtems__ \ +#define CPP_PREDEFINES "-Dmc68000 -D__rtems__ \ -Asystem=rtems -Acpu=mc68000 -Acpu=m68k -Amachine=m68k" /* Generate calls to memcpy, memcmp and memset. */ #ifndef TARGET_MEM_FUNCTIONS #define TARGET_MEM_FUNCTIONS #endif - -/* Get machine-independent configuration parameters for RTEMS. */ -#include <rtems.h> diff --git a/gcc/config/m68k/rtemself.h b/gcc/config/m68k/rtemself.h index a8b32e6..473ee25 100644 --- a/gcc/config/m68k/rtemself.h +++ b/gcc/config/m68k/rtemself.h @@ -1,5 +1,5 @@ /* Definitions for rtems targeting a Motorola m68k using elf. - Copyright (C) 1999, 2000, National Research Council of Canada. + Copyright (C) 1999, 2000, 2002 National Research Council of Canada. Contributed by Charles-Antoine Gauthier (charles.gauthier@nrc.ca). This file is part of GNU CC. @@ -27,7 +27,7 @@ Boston, MA 02111-1307, USA. */ /* Specify predefined symbols in preprocessor. */ #undef CPP_PREDEFINES -#define CPP_PREDEFINES "-Dmc68000 -Drtems -D__rtems__ -D__ELF__ \ +#define CPP_PREDEFINES "-Dmc68000 -D__rtems__ -D__ELF__ -D__USE_INIT_FINI__ \ -Asystem=rtems -Acpu=mc68000 -Acpu=m68k -Amachine=m68k" /* Generate calls to memcpy, memcmp and memset. */ @@ -60,8 +60,3 @@ Boston, MA 02111-1307, USA. */ /* Do I need this? */ #undef INVOKE__main - -/* Get machine-independent configuration parameters for RTEMS. */ -#include <rtems.h> - -/* end of m68k/rtemself.h */ diff --git a/gcc/config/m68k/t-m68kbare b/gcc/config/m68k/t-m68kbare index e723ee6..d9651d1 100644 --- a/gcc/config/m68k/t-m68kbare +++ b/gcc/config/m68k/t-m68kbare @@ -14,8 +14,8 @@ xfgnulib.c: $(srcdir)/config/m68k/fpgnulib.c MULTILIB_OPTIONS = m68000/m68020/m5200/mcpu32/m68040/m68060 m68881/msoft-float MULTILIB_DIRNAMES = -MULTILIB_MATCHES = m68000=mc68000 m68000=m68302 mcpu32=m68332 m68020=mc68020 -MULTILIB_EXCEPTIONS = m68000/msoft-float m5200/m68881 m5200/msoft-float mcpu32/m68881 mcpu32/msoft-float m68040/m68881 m68040/msoft-float m68060/m68881 m68060/msoft-float +MULTILIB_MATCHES = m68000=mc68000 m68000=m68302 mcpu32=m68332 m68020=mc68020 +MULTILIB_EXCEPTIONS = m68000/msoft-float m5200/m68881 m5200/msoft-float mcpu32/m68881 mcpu32/msoft-float m68040/m68681 m68060/m68681 LIBGCC = stmp-multilib INSTALL_LIBGCC = install-multilib |