2
1
Эх сурвалжийг харах

Thomas Chou says in bug 618: fix gcc to use crt1.o instead of crt0.o

Mike Frysinger 19 жил өмнө
parent
commit
48dad9737a

+ 1 - 1
toolchain/gcc/3.4.2/900-nios2.patch

@@ -6989,7 +6989,7 @@
 +
 +#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} \
 +"

+ 1 - 1
toolchain/gcc/3.4.3/900-nios2.patch

@@ -6989,7 +6989,7 @@
 +
 +#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} \
 +"