소스 검색

Thomas Chou says in bug 618: fix gcc to use crt1.o instead of crt0.o

Mike Frysinger 19 년 전
부모
커밋
48dad9737a
2개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 1
      toolchain/gcc/3.4.2/900-nios2.patch
  2. 1 1
      toolchain/gcc/3.4.3/900-nios2.patch

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

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