This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

powerpc-rtems patch for 3.0 branch and mainline



The attached patch fixes config/rs6000/rtems.h.

It needs to be applied to both the 3.0 branch and mainline.

-- 
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
2001-06-19	Joel Sherrill <joel@OARcorp.com>

	* config/rs6000/rtems.h (STARTFILE_DEFAULT_SPEC): Add ecrti.o.
	(ENDFILE_DEFAULT_SPEC): Add ecrtn.o.
	Add include of generic rtems.h.

diff -uNr /usr1/rtems/work-tools/original/gcc-3.0-20010614/gcc/config/rs6000/rtems.h gcc-3.0-20010614/gcc/config/rs6000/rtems.h
--- /usr1/rtems/work-tools/original/gcc-3.0-20010614/gcc/config/rs6000/rtems.h	Tue Jan  9 14:46:11 2001
+++ gcc-3.0-20010614/gcc/config/rs6000/rtems.h	Fri Jun 15 08:24:02 2001
@@ -31,4 +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>

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]