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} \ +"