From 48dad9737a622e6d79c1427439924bfd42780642 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sun, 15 Jan 2006 02:50:49 +0000 Subject: [PATCH] Thomas Chou says in bug 618: fix gcc to use crt1.o instead of crt0.o --- toolchain/gcc/3.4.2/900-nios2.patch | 2 +- toolchain/gcc/3.4.3/900-nios2.patch | 2 +- 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 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} \ +" -- 2.30.2