aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/rtems.h
diff options
context:
space:
mode:
authorjoel <joel@138bc75d-0d04-0410-961f-82ee72b054a4>2002-04-12 13:35:03 +0000
committerjoel <joel@138bc75d-0d04-0410-961f-82ee72b054a4>2002-04-12 13:35:03 +0000
commitfbeb7d1a16f4d38396840172aa4ced036d3c49d3 (patch)
tree0ab5e75bfe564cbfba09652a0d4c9a0fefef0032 /gcc/config/rtems.h
parent4a83669886cd16729e6fc94293d18fcd285ccf3e (diff)
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52225 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/rtems.h')
-rw-r--r--gcc/config/rtems.h17
1 files changed, 16 insertions, 1 deletions
diff --git a/gcc/config/rtems.h b/gcc/config/rtems.h
index a5ac8a741d3..c1592617e0c 100644
--- a/gcc/config/rtems.h
+++ b/gcc/config/rtems.h
@@ -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"