aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/m68k
diff options
context:
space:
mode:
authorEric Norum <eric.norum@usask.ca>2002-04-12 13:35:03 +0000
committerJoel Sherrill <joel@gcc.gnu.org>2002-04-12 13:35:03 +0000
commit1d80248e2fe0cd6e7f283467867755a778073605 (patch)
tree0ab5e75bfe564cbfba09652a0d4c9a0fefef0032 /gcc/config/m68k
parentfa06ab5c426c2d6a6f3a22799216c5199e617d85 (diff)
downloadgcc-1d80248e2fe0cd6e7f283467867755a778073605.zip
gcc-1d80248e2fe0cd6e7f283467867755a778073605.tar.gz
gcc-1d80248e2fe0cd6e7f283467867755a778073605.tar.bz2
rtems.h, [...] (*-rtems*): Cleanup pass to move common definitions to config/rtems.h and make the targets...
2002-04-12 Eric Norum <eric.norum@usask.ca> * config/rtems.h, config/a29k/rtems.h, config/arm/rtems-elf.h, config/c4x/rtems.h, config/h8300/rtems.h, config/i386/rtems.h, config/i386/rtemself.h, config/i960/rtems.h, config/m68k/rtems.h, config/m68k/rtemself.h, config/mips/rtems.h, config/mips/rtems64.h, config/pa/rtems.h, config/rs6000/rtems.h, config/sh/rtems.h, config/sh/rtemself.h, config/sparc/rtems.h, config/sparc/rtemself.h, config/v850/rtems.h (*-rtems*): Cleanup pass to move common definitions to config/rtems.h and make the targets more similar. From-SVN: r52225
Diffstat (limited to 'gcc/config/m68k')
-rw-r--r--gcc/config/m68k/rtems.h5
-rw-r--r--gcc/config/m68k/rtemself.h33
2 files changed, 0 insertions, 38 deletions
diff --git a/gcc/config/m68k/rtems.h b/gcc/config/m68k/rtems.h
index 89b5160..7a6f55b 100644
--- a/gcc/config/m68k/rtems.h
+++ b/gcc/config/m68k/rtems.h
@@ -24,8 +24,3 @@ Boston, MA 02111-1307, USA. */
#undef CPP_PREDEFINES
#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
diff --git a/gcc/config/m68k/rtemself.h b/gcc/config/m68k/rtemself.h
index 473ee25..eb627f6 100644
--- a/gcc/config/m68k/rtemself.h
+++ b/gcc/config/m68k/rtemself.h
@@ -22,41 +22,8 @@ Boston, MA 02111-1307, USA. */
#define MOTOROLA /* Use Motorola syntax rather than MIT. */
-#include "m68k/m68020-elf.h"
-
/* Specify predefined symbols in preprocessor. */
#undef CPP_PREDEFINES
#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. */
-#ifndef TARGET_MEM_FUNCTIONS
-#define TARGET_MEM_FUNCTIONS
-#endif
-
-/*
- * Each RTEMS BSP provides its own crt0 and linker script. Unfortunately
- * this means that crt0 and the linker script are not available as
- * each tool is configured. Without a crt0 and linker script, m68k ELF
- * targets do not successfully link "conftest.c" during the configuration
- * process. RTEMS supplies a crt0.c that provides all the symbols required
- * to successfully link a program. The resulting program will not run
- * but this is enough to satisfy the autoconf macro AC_PROG_CC.
- * Override STARTFILE_SPEC to use the fake crt0.o supplied by rtems.
- */
-#undef STARTFILE_SPEC
-#define STARTFILE_SPEC "crt0.o%s"
-
-/*
- * Redefine INIT_SECTION_ASM_OP and FINI_SECTION_ASM_OP. This is the easiest
- * way to process constructors, destructors, and the exception frame
- * information at startup.
- */
-#undef INIT_SECTION_ASM_OP
-#define INIT_SECTION_ASM_OP "\t.section\t.init"
-#undef FINI_SECTION_ASM_OP
-#define FINI_SECTION_ASM_OP "\t.section\t.fini"
-
-/* Do I need this? */
-#undef INVOKE__main