This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
RTEMS PowerPC patch
- To: gcc at gcc dot gnu dot org
- Subject: RTEMS PowerPC patch
- From: Joel Sherrill <joel dot sherrill at OARcorp dot com>
- Date: Fri, 01 Dec 2000 11:53:22 -0600
- Organization: OAR Corporation
- Reply-To: joel dot sherrill at OARcorp dot com
Correct start and end file specifications.
2000-12-01 Joel Sherrill <joel@OARcorp.com>
* config/rs6000/rtems.h (STARTFILE_DEFAULT_SPEC): Correct to
use ecrti.o.
* config/rs6000/rtems.h (ENDFILE_DEFAULT_SPEC): Add this as
ecrtn.o.
--
Joel Sherrill, Ph.D. Director of Research & Development
joel@OARcorp.com On-Line Applications Research
Ask me about RTEMS: a free RTOS Huntsville AL 35805
Support Available (256) 722-9985
Index: gcc/config/rs6000/rtems.h
===================================================================
RCS file: /cvs/gcc/egcs/gcc/config/rs6000/rtems.h,v
retrieving revision 1.11
diff -u -r1.11 rtems.h
--- rtems.h 2000/11/02 23:29:12 1.11
+++ rtems.h 2000/12/01 17:33:41
@@ -31,7 +31,10 @@
#endif
#undef STARTFILE_DEFAULT_SPEC
-#define STARTFILE_DEFAULT_SPEC "crt0.o%s"
+#define STARTFILE_DEFAULT_SPEC "ecrti.o%s crt0.o%s"
+
+#undef ENDFILE_DEFAULT_SPEC
+#define ENDFILE_DEFAULT_SPEC "ecrtn.o%s"
/* Get machine-independent configuration parameters for RTEMS. */
#include <rtems.h>