This patch makes gcc use crt3.o and dllcrt3.o.

Cheers,
Pedro Alves

src/gcc/gcc/ChangeLog.ce:

2006-11-27  Pedro Alves  <[EMAIL PROTECTED]>

        * config/arm/mingw32.h (STARTFILE_SPEC): Add crt3.o and dllcrt3.o
        instead of crt2.o and dllcrt2.o.
Index: config/arm/mingw32.h
===================================================================
--- config/arm/mingw32.h        (revision 760)
+++ config/arm/mingw32.h        (working copy)
@@ -55,8 +55,8 @@
   "%{mthreads:-lmingwthrd} -lmingw32 -lgcc -lceoldname -lmingwex -lcoredll"
 
 #undef STARTFILE_SPEC
-#define STARTFILE_SPEC "%{shared|mdll:dllcrt2%O%s} \
-  %{!shared:%{!mdll:crt2%O%s}} %{pg:gcrt3%O%s}"
+#define STARTFILE_SPEC "%{shared|mdll:dllcrt3%O%s} \
+  %{!shared:%{!mdll:crt3%O%s}} %{pg:gcrt3%O%s}"
 
 /* Override startfile prefix defaults.  */
 #ifndef STANDARD_STARTFILE_PREFIX_1
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Cegcc-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cegcc-devel

Reply via email to