summaryrefslogtreecommitdiff
path: root/toolchain/gcc
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-01-15 02:50:49 +0000
committerMike Frysinger <vapier@gentoo.org>2006-01-15 02:50:49 +0000
commit48dad9737a622e6d79c1427439924bfd42780642 (patch)
tree546834a93168588aa0ef2e7da77fb19cb8f6f210 /toolchain/gcc
parent9896430b13769ae0e5771ada898441cb2bb773d3 (diff)
Thomas Chou says in bug 618: fix gcc to use crt1.o instead of crt0.o
Diffstat (limited to 'toolchain/gcc')
-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} \
+"