OSDN Git Service

* config/i386/rtemself.h: Updated to keep in sync with
[pf3gnuchains/gcc-fork.git] / gcc / config / sh / rtems.h
index be9d8f2..3e3fc7b 100644 (file)
@@ -1,4 +1,4 @@
-/* Definitions for rtems targetting a SH using elf.
+/* Definitions for rtems targeting a SH using COFF.
    Copyright (C) 1997 Free Software Foundation, Inc.
    Contributed by Joel Sherrill (joel@OARcorp.com).
 
@@ -19,10 +19,17 @@ 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 "sh/elf.h"
+#include "sh/sh.h"
 
 /* Specify predefined symbols in preprocessor.  */
 
 #undef CPP_PREDEFINES
-#define CPP_PREDEFINES "-D__sh__ -D__ELF__ -Drtems -D__rtems__ \
+#define CPP_PREDEFINES "-D__sh__ -Drtems -D__rtems__ \
   -Asystem(rtems) -Acpu(sh) -Amachine(sh)"
+
+/* Generate calls to memcpy, memcmp and memset.  */
+#ifndef TARGET_MEM_FUNCTIONS
+#define TARGET_MEM_FUNCTIONS
+#endif
+
+/* end of sh/rtems.h */