From: Mike Frysinger Date: Sun, 15 Jan 2006 02:50:49 +0000 (-0000) Subject: Thomas Chou says in bug 618: fix gcc to use crt1.o instead of crt0.o X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=48dad9737a622e6d79c1427439924bfd42780642;p=buildroot.git Thomas Chou says in bug 618: fix gcc to use crt1.o instead of crt0.o --- diff --git a/toolchain/gcc/3.4.2/900-nios2.patch b/toolchain/gcc/3.4.2/900-nios2.patch index 91bf7fea1c..f411e4b35b 100644 --- a/toolchain/gcc/3.4.2/900-nios2.patch +++ b/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} \ +" diff --git a/toolchain/gcc/3.4.3/900-nios2.patch b/toolchain/gcc/3.4.3/900-nios2.patch index 07d09c1cd0..39ac283ea9 100644 --- a/toolchain/gcc/3.4.3/900-nios2.patch +++ b/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} \ +"