summaryrefslogtreecommitdiffstats
path: root/toolchain/gcc/4.0.4/402-libbackend_dep_gcov-iov.h.patch
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2007-02-12 13:38:06 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2007-02-12 13:38:06 +0000
commit99cf7293f9eb943e00e2ebca6eee0e36eaa801bd (patch)
tree1ae33b5d2518286eafc5154cdecb2fd9ed0e3f97 /toolchain/gcc/4.0.4/402-libbackend_dep_gcov-iov.h.patch
parente5b36a686c563bc667406b9e148e9a72948505be (diff)
downloadbuildroot-novena-99cf7293f9eb943e00e2ebca6eee0e36eaa801bd.tar.gz
buildroot-novena-99cf7293f9eb943e00e2ebca6eee0e36eaa801bd.zip
- add cc-option and use it to check for stuff that is benefical for PREFER_IMA
- backport the libbackend.o gcov-iov.h dependency fixup from 4.2 to 4.0
Diffstat (limited to 'toolchain/gcc/4.0.4/402-libbackend_dep_gcov-iov.h.patch')
-rw-r--r--toolchain/gcc/4.0.4/402-libbackend_dep_gcov-iov.h.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/toolchain/gcc/4.0.4/402-libbackend_dep_gcov-iov.h.patch b/toolchain/gcc/4.0.4/402-libbackend_dep_gcov-iov.h.patch
new file mode 100644
index 000000000..89196d9fa
--- /dev/null
+++ b/toolchain/gcc/4.0.4/402-libbackend_dep_gcov-iov.h.patch
@@ -0,0 +1,11 @@
+--- gcc-4.0.4.orig/gcc/Makefile.in 2007-02-12 11:35:43.000000000 +0100
++++ gcc-4.0.4/gcc/Makefile.in 2007-02-12 11:38:04.000000000 +0100
+@@ -2202,7 +2202,7 @@ mips-tdump.o : mips-tdump.c $(CONFIG_H)
+ # FIXME: writing proper dependencies for this is a *LOT* of work.
+ libbackend.o : $(OBJS-common:.o=.c) $(out_file) \
+ insn-config.h insn-flags.h insn-codes.h insn-constants.h \
+- insn-attr.h
++ insn-attr.h gcov-iov.h
+ $(CC) $(ALL_CFLAGS) $(ALL_CPPFLAGS) \
+ -DTARGET_NAME=\"$(target_noncanonical)\" \
+ -DLOCALEDIR=\"$(localedir)\" \