Thomas Chou says in bug 618: fix gcc to use crt1.o instead of crt0.o
authorMike Frysinger <vapier@gentoo.org>
Sun, 15 Jan 2006 02:50:49 +0000 (02:50 -0000)
committerMike Frysinger <vapier@gentoo.org>
Sun, 15 Jan 2006 02:50:49 +0000 (02:50 -0000)
toolchain/gcc/3.4.2/900-nios2.patch
toolchain/gcc/3.4.3/900-nios2.patch

index 91bf7fea1c0bc3115b5d9a9eda892e6008559df8..f411e4b35b7940c02df6dafeaa1b436b8bb4dbf1 100644 (file)
 +
 +#undef STARTFILE_SPEC 
 +#define STARTFILE_SPEC  \
-+"%{msys-crt0=*: %*} %{!msys-crt0=*: crt0%O%s} \
++"%{msys-crt0=*: %*} %{!msys-crt0=*: crt1%O%s} \
 + %{msys-crt0=: %eYou need a C startup file for -msys-crt0=} \
 + %{mctors-in-init: crti%O%s crtbegin%O%s} \
 +"
index 07d09c1cd02385b0665cd2db20c4c88954f4f13e..39ac283ea9f2d2d853f822955251dd915fe06a1f 100644 (file)
 +
 +#undef STARTFILE_SPEC 
 +#define STARTFILE_SPEC  \
-+"%{msys-crt0=*: %*} %{!msys-crt0=*: crt0%O%s} \
++"%{msys-crt0=*: %*} %{!msys-crt0=*: crt1%O%s} \
 + %{msys-crt0=: %eYou need a C startup file for -msys-crt0=} \
 + %{mctors-in-init: crti%O%s crtbegin%O%s} \
 +"