summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--toolchain/gcc/3.4.2/900-nios2.patch2
-rw-r--r--toolchain/gcc/3.4.3/900-nios2.patch2
2 files changed, 2 insertions, 2 deletions
diff --git a/toolchain/gcc/3.4.2/900-nios2.patch b/toolchain/gcc/3.4.2/900-nios2.patch
index 91bf7fea1..f411e4b35 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 07d09c1cd..39ac283ea 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} \
+"