]> gcc.gnu.org Git - gcc.git/commitdiff
rtems.h, [...] (*-rtems*): Cleanup pass to move common definitions to config/rtems...
authorEric Norum <eric.norum@usask.ca>
Fri, 12 Apr 2002 13:35:03 +0000 (13:35 +0000)
committerJoel Sherrill <joel@gcc.gnu.org>
Fri, 12 Apr 2002 13:35:03 +0000 (13:35 +0000)
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

20 files changed:
gcc/ChangeLog
gcc/config/a29k/rtems.h
gcc/config/arm/rtems-elf.h
gcc/config/c4x/rtems.h
gcc/config/h8300/rtems.h
gcc/config/i386/rtems.h
gcc/config/i386/rtemself.h
gcc/config/i960/rtems.h
gcc/config/m68k/rtems.h
gcc/config/m68k/rtemself.h
gcc/config/mips/rtems.h
gcc/config/mips/rtems64.h
gcc/config/pa/rtems.h
gcc/config/rs6000/rtems.h
gcc/config/rtems.h
gcc/config/sh/rtems.h
gcc/config/sh/rtemself.h
gcc/config/sparc/rtems.h
gcc/config/sparc/rtemself.h
gcc/config/v850/rtems.h

index 63fc94ffff8e31774da7a72cfd142a314ccde418..0250693cbe2e1fe6032fe374113be6861e3d8eed 100644 (file)
@@ -1,3 +1,14 @@
+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.
+
 Fri Apr 12 08:06:54 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
 
        * expr.c (expand_assigment): Remove duplicate conversions #ifdef
index c2c9d6ac5e83a4904077a5d3d6de59bc9382a4c8..ef654450cfc44c5bb06bb65c926acfb35a69bec5 100644 (file)
@@ -24,8 +24,3 @@ Boston, MA 02111-1307, USA.  */
 #undef CPP_PREDEFINES
 #define CPP_PREDEFINES "-D_AM29K -D_AM29000 -D_EPI -D__rtems__ \
   -Asystem=rtems -Acpu=a29k -Amachine=a29k"
-
-/* Generate calls to memcpy, memcmp and memset.  */
-#ifndef TARGET_MEM_FUNCTIONS
-#define TARGET_MEM_FUNCTIONS
-#endif
index 8663768ab818df90432662895bc864ae698fc198..79da8c9c2b7e657ea5ccbb0805131872b5e9901a 100644 (file)
@@ -25,6 +25,3 @@ Boston, MA 02111-1307, USA.  */
 
 #undef CPP_PREDEFINES
 #define CPP_PREDEFINES "-D__rtems__ -D__ELF__ -Asystem=rtems"
-
-#undef INVOKE_main
-
index d4364dffa4ed7675c05eed64afc598bd3454739e..400d883200ffdb89338d32220d33176b18e2736b 100644 (file)
@@ -23,8 +23,3 @@ Boston, MA 02111-1307, USA.  */
 
 #undef CPP_PREDEFINES
 #define CPP_PREDEFINES "-D__rtems__ -Asystem=rtems -D__USE_INIT_FINI__"
-
-/* Generate calls to memcpy, memcmp and memset.  */
-#ifndef TARGET_MEM_FUNCTIONS
-#define TARGET_MEM_FUNCTIONS
-#endif
index f1b4b33ee44df77e45c9dbc60b14aad279d8982e..2e7676f41f96c20bac053ea33be1239bb65171e1 100644 (file)
@@ -23,8 +23,3 @@ Boston, MA 02111-1307, USA.  */
 #define CPP_PREDEFINES "-Dh8300 \
   -D__LONG_MAX__=2147483647L -D__LONG_LONG_MAX__=2147483647L \
   -D__rtems__ -Asystem=rtems"
-
-/* Generate calls to memcpy, memcmp and memset.  */
-#ifndef TARGET_MEM_FUNCTIONS
-#define TARGET_MEM_FUNCTIONS
-#endif
index 9e8fab73a116b6e2e7d1513071a0c7285bfe3dd8..16fd6fb9eb1d5dcd8aa87ef687a1d600726cb448 100644 (file)
@@ -26,8 +26,3 @@ Boston, MA 02111-1307, USA.  */
 
 #undef  TARGET_VERSION
 #define TARGET_VERSION fprintf (stderr, " (80386, RTEMS)"); 
-
-/* Generate calls to memcpy, memcmp and memset.  */
-#ifndef TARGET_MEM_FUNCTIONS
-#define TARGET_MEM_FUNCTIONS
-#endif
index 2ebc517cb1aca9aa55363b12e8552595e704b3d4..7e831b9f73eacfb8b6a7bf1050201a98fc519493 100644 (file)
@@ -21,20 +21,11 @@ Boston, MA 02111-1307, USA.  */
 
 /* Specify predefined symbols in preprocessor.  */
 
+#include <i386/i386elf.h>
+
 #undef CPP_PREDEFINES
 #define CPP_PREDEFINES  "-D__rtems__ -Asystem=rtems \
     -D__ELF__ -D__i386__ -D__USE_INIT_FINI__"
 
 #undef CPP_SPEC
 #define CPP_SPEC "%(cpp_cpu) %{msoft-float:-D_SOFT_FLOAT}"
-
-#undef STARTFILE_SPEC
-#define STARTFILE_SPEC "crt0.o%s crti.o%s crtbegin.o%s"
-
-#undef ENDFILE_SPEC
-#define ENDFILE_SPEC   "crtend.o%s crtn.o%s"
-
-/* Generate calls to memcpy, memcmp and memset.  */
-#ifndef TARGET_MEM_FUNCTIONS
-#define TARGET_MEM_FUNCTIONS
-#endif
index d1dccc030e49bd48b0b68d07bcd4db18dc654d6e..411acfcd035f08546cfe1252e0b1e8b8fdfbf11c 100644 (file)
@@ -24,8 +24,3 @@ Boston, MA 02111-1307, USA.  */
 #undef CPP_PREDEFINES
 #define CPP_PREDEFINES "-Di960 -Di80960 -DI960 -DI80960 -D__rtems__ \
    -Asystem=rtems -Acpu=i960 -Amachine=i960"
-
-/* Generate calls to memcpy, memcmp and memset.  */
-#ifndef TARGET_MEM_FUNCTIONS
-#define TARGET_MEM_FUNCTIONS
-#endif
index 89b51601eb4ac40193977dbf741071ed84419de6..7a6f55b62a97a033b2b8c62843ddd4ab161a3a1a 100644 (file)
@@ -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
index 473ee25548b1ea22f2d258ca7c4fc8dbf7107e2c..eb627f6db0112167f334f154ba8017a219178228 100644 (file)
@@ -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
index 0a2692ac9062809d7de976c937073f9f4a649476..35674e265005abfe3a0895df7ce9a55d5f94d68b 100644 (file)
@@ -24,8 +24,3 @@ Boston, MA 02111-1307, USA.  */
 #undef CPP_PREDEFINES
 #define CPP_PREDEFINES "-Dmips -DMIPSEB -D_mips -D_MIPSEB \
    -D__rtems__ -Asystem=rtems"
-
-/* Generate calls to memcpy, memcmp and memset.  */
-#ifndef TARGET_MEM_FUNCTIONS
-#define TARGET_MEM_FUNCTIONS
-#endif
index 78281b6d818f068629770677432d91d3efb21ef1..e3c74ca04eab519d0a5c1457cd6c33743f18eb38 100644 (file)
@@ -25,11 +25,6 @@ Boston, MA 02111-1307, USA.  */
 #define CPP_PREDEFINES "-Dmips -DMIPSEB -DR4000 -D_mips -D_MIPSEB -D_R4000 \
    -D__rtems__ -Asystem=rtems"
 
-/* Generate calls to memcpy, memcmp and memset.  */
-#ifndef TARGET_MEM_FUNCTIONS
-#define TARGET_MEM_FUNCTIONS
-#endif
-
 #undef EXTRA_SECTIONS
 #define EXTRA_SECTIONS in_sdata, in_rdata
 
index 10b892e796b05e99fd7a7443f63005005a9726c7..fe83e85f0440ca05b7fd72cad650388b6635c93f 100644 (file)
@@ -24,8 +24,3 @@ Boston, MA 02111-1307, USA.  */
 #undef CPP_PREDEFINES
 #define CPP_PREDEFINES "-Dhppa -DPWB -Acpu=hppa -Amachine=hppa \
    -D__rtems__ -Asystem=rtems"
-
-/* Generate calls to memcpy, memcmp and memset.  */
-#ifndef TARGET_MEM_FUNCTIONS
-#define TARGET_MEM_FUNCTIONS
-#endif
index cb5cac51b74bacfc95bc712cf1cee3695b734fd5..aa68130ba17e6ad4d8c388914cc74f6808554e5a 100644 (file)
@@ -24,11 +24,3 @@ Boston, MA 02111-1307, USA.  */
 #undef CPP_PREDEFINES
 #define CPP_PREDEFINES "-DPPC -D__rtems__ \
    -Asystem=rtems -Acpu=powerpc -Amachine=powerpc"
-
-/* Generate calls to memcpy, memcmp and memset.  */
-#ifndef TARGET_MEM_FUNCTIONS
-#define TARGET_MEM_FUNCTIONS
-#endif
-
-#undef STARTFILE_DEFAULT_SPEC
-#define STARTFILE_DEFAULT_SPEC "crt0.o%s"
index a5ac8a741d3e36151d95593e0669b05112999c9c..c1592617e0c9691614fb7a578990f748cdcc5cc5 100644 (file)
@@ -1,5 +1,5 @@
 /* Configuration common to all targets running RTEMS. 
-   Copyright (C) 2000 Free Software Foundation, Inc. 
+   Copyright (C) 2000, 2002 Free Software Foundation, Inc. 
 
 This file is part of GNU CC.
 
@@ -20,3 +20,18 @@ Boston, MA 02111-1307, USA.  */
 
 /* The system headers under RTEMS are C++-aware.  */
 #define NO_IMPLICIT_EXTERN_C
+
+/* Generate calls to memcpy, memcmp and memset.  */
+#ifndef TARGET_MEM_FUNCTIONS
+#define TARGET_MEM_FUNCTIONS
+#endif
+
+/*
+ * Dummy start/end specification to let linker work as
+ * needed by autoconf scripts using this compiler.
+ */
+#undef STARTFILE_SPEC
+#define STARTFILE_SPEC "crt0.o%s crti.o%s crtbegin.o%s"
+
+#undef ENDFILE_SPEC
+#define ENDFILE_SPEC   "crtend.o%s crtn.o%s"
index 3f8ce8b6034e1b8f9798ebfee5bc80a7dc71ac74..b52ef7216ec1a17cce2afa7463c7e7c895ba8c13 100644 (file)
@@ -24,8 +24,3 @@ Boston, MA 02111-1307, USA.  */
 #undef CPP_PREDEFINES
 #define CPP_PREDEFINES "-D__sh__ -D__rtems__ \
   -Asystem=rtems -Acpu=sh -Amachine=sh"
-
-/* Generate calls to memcpy, memcmp and memset.  */
-#ifndef TARGET_MEM_FUNCTIONS
-#define TARGET_MEM_FUNCTIONS
-#endif
index 552d77a9b6035ad371a9ffea6c53d5a171803667..6177c810dd144e801bde4f5f6766846e127635a5 100644 (file)
@@ -24,8 +24,3 @@ Boston, MA 02111-1307, USA.  */
 #undef CPP_PREDEFINES
 #define CPP_PREDEFINES "-D__sh__ -D__ELF__ -D__rtems__ \
   -Asystem=rtems -Acpu=sh -Amachine=sh"
-
-/* Generate calls to memcpy, memcmp and memset.  */
-#ifndef TARGET_MEM_FUNCTIONS
-#define TARGET_MEM_FUNCTIONS
-#endif
index f6947ea645e2575bb20b03c9d5b2e2f7955eded3..e537f1ca988f00fd718826b9d48c8b3f58021c1c 100644 (file)
@@ -25,8 +25,3 @@ Boston, MA 02111-1307, USA.  */
 #undef CPP_PREDEFINES
 #define CPP_PREDEFINES "-Dsparc -D__GCC_NEW_VARARGS__ -D__rtems__ \
   -Asystem=rtems"
-
-/* Generate calls to memcpy, memcmp and memset.  */
-#ifndef TARGET_MEM_FUNCTIONS
-#define TARGET_MEM_FUNCTIONS
-#endif
index 6faa9be55f7445ccbd3948aa6da3dd1ef38afc14..4f2cc66bb6cc2aff4c678534d3427553d3d544f6 100644 (file)
@@ -24,8 +24,3 @@ Boston, MA 02111-1307, USA.  */
 #undef CPP_PREDEFINES
 #define CPP_PREDEFINES "-Dsparc -D__GCC_NEW_VARARGS__ -D__rtems__ \
   -D__USE_INIT_FINI__ -Asystem=rtems"
-
-/* Generate calls to memcpy, memcmp and memset.  */
-#ifndef TARGET_MEM_FUNCTIONS
-#define TARGET_MEM_FUNCTIONS
-#endif
index 4f49ba6f80474c2a1ccfd16ba37e3cc8503a7c5a..14ddfa125f37888876c4778e8ec32331932fbbf5 100644 (file)
@@ -24,8 +24,3 @@ Boston, MA 02111-1307, USA.  */
 #undef CPP_PREDEFINES
 #define CPP_PREDEFINES "-D__v851__ -D__v850 -D__rtems__ \
   -Asystem=rtems -Acpu=v850 -Amachine=v850"
-
-/* Generate calls to memcpy, memcmp and memset.  */
-#ifndef TARGET_MEM_FUNCTIONS
-#define TARGET_MEM_FUNCTIONS
-#endif
This page took 0.098688 seconds and 5 git commands to generate.