gcc: fix a linker error in 4.3.3 and 4.3.4 that is triggered by including an object in a linking process which is already part of libbackend.a
SVN-Revision: 17718
This commit is contained in:
parent
c30639b1e8
commit
49ec2321b7
2 changed files with 22 additions and 0 deletions
11
toolchain/gcc/patches/4.3.3/106-fix_linker_error.patch
Normal file
11
toolchain/gcc/patches/4.3.3/106-fix_linker_error.patch
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- a/gcc/cp/Make-lang.in
|
||||
+++ b/gcc/cp/Make-lang.in
|
||||
@@ -73,7 +73,7 @@ g++-cross$(exeext): g++$(exeext)
|
||||
CXX_C_OBJS = attribs.o c-common.o c-format.o c-pragma.o c-semantics.o c-lex.o \
|
||||
c-dump.o $(CXX_TARGET_OBJS) c-pretty-print.o c-opts.o c-pch.o \
|
||||
c-incpath.o cppdefault.o c-ppoutput.o c-cppbuiltin.o prefix.o \
|
||||
- c-gimplify.o c-omp.o tree-inline.o
|
||||
+ c-gimplify.o c-omp.o
|
||||
|
||||
# Language-specific object files for C++ and Objective C++.
|
||||
CXX_AND_OBJCXX_OBJS = cp/call.o cp/decl.o cp/expr.o cp/pt.o cp/typeck2.o \
|
11
toolchain/gcc/patches/4.3.4/106-fix_linker_error.patch
Normal file
11
toolchain/gcc/patches/4.3.4/106-fix_linker_error.patch
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- a/gcc/cp/Make-lang.in
|
||||
+++ b/gcc/cp/Make-lang.in
|
||||
@@ -73,7 +73,7 @@ g++-cross$(exeext): g++$(exeext)
|
||||
CXX_C_OBJS = attribs.o c-common.o c-format.o c-pragma.o c-semantics.o c-lex.o \
|
||||
c-dump.o $(CXX_TARGET_OBJS) c-pretty-print.o c-opts.o c-pch.o \
|
||||
c-incpath.o cppdefault.o c-ppoutput.o c-cppbuiltin.o prefix.o \
|
||||
- c-gimplify.o c-omp.o tree-inline.o
|
||||
+ c-gimplify.o c-omp.o
|
||||
|
||||
# Language-specific object files for C++ and Objective C++.
|
||||
CXX_AND_OBJCXX_OBJS = cp/call.o cp/decl.o cp/expr.o cp/pt.o cp/typeck2.o \
|
Loading…
Reference in a new issue