patches/gcc/4.2.0/230-libbackend_dep_gcov-iov.h.patch
author David Holsgrove <david.holsgrove@xilinx.com>
Thu Oct 04 15:59:31 2012 +1000 (2012-10-04)
changeset 3073 a6981147ccc0
parent 111 2e16b9fc302d
permissions -rw-r--r--
scripts/gcc: Canadian Cross skip -print-multi-lib log output

Attempting to ${CT_TARGET}-gcc -print-multi-lib will fail

In do_cc_core_backend, for the final compiler in a canadian cross
baremetal, warn that multi-libs cannot be determined

In do_cc_backend, for either final compiler for a canadian cross,
warn that multi-libs cannot be determined

(Plus fixed CT_PREFIX_DIR in do_cc_backend to be ${prefix})

Signed-off-by: "David Holsgrove" <david.holsgrove@xilinx.com>
Message-Id: <CAM=EW8aQDoNx-CkJHjXBoDP4iTDJ8z5hh3=KhO5UTU6rp3Pj=w@mail.gmail.com>
Patchwork-Id: 189053
yann@111
     1
Index: gcc-4.2/gcc/Makefile.in
yann@111
     2
===================================================================
yann@111
     3
--- gcc-4.2/gcc/Makefile.in	(revision 121758)
yann@111
     4
+++ gcc-4.2/gcc/Makefile.in	(working copy)
yann@111
     5
@@ -2658,7 +2658,7 @@ mips-tdump.o : mips-tdump.c $(CONFIG_H) 
yann@111
     6
 # FIXME: writing proper dependencies for this is a *LOT* of work.
yann@111
     7
 libbackend.o : $(OBJS-common:.o=.c) $(out_file) \
yann@111
     8
   insn-config.h insn-flags.h insn-codes.h insn-constants.h \
yann@111
     9
-  insn-attr.h  $(DATESTAMP) $(BASEVER) $(DEVPHASE)
yann@111
    10
+  insn-attr.h  $(DATESTAMP) $(BASEVER) $(DEVPHASE) gcov-iov.h
yann@111
    11
 	$(CC) $(ALL_CFLAGS) $(ALL_CPPFLAGS) \
yann@111
    12
 	  -DTARGET_NAME=\"$(target_noncanonical)\" \
yann@111
    13
 	  -DLOCALEDIR=\"$(localedir)\" \