Hello,

The following patch was necessary to make check_makefile_deps.sh work
on powerpc64-unknown-linux-gnu. Is this OK?

Ciao!
Steven

Index: contrib/ChangeLog
===================================================================
--- contrib/ChangeLog   (revision 187901)
+++ contrib/ChangeLog   (working copy)
@@ -1,3 +1,8 @@
+2012-05-25  Steven Bosscher  <steven at gcc dot gnu dot org>
+
+       * check_makefile_deps.sh: Add ecrti.o and ecrtn.o to the list of
+       objects to skip unconditionaly.  Check for c-common.o in c-family/.
+
 2012-05-25  H.J. Lu  <hongjiu dot lu at intel dot com>

        PR bootstrap/53472
Index: contrib/check_makefile_deps.sh
===================================================================
--- contrib/check_makefile_deps.sh      (revision 187901)
+++ contrib/check_makefile_deps.sh      (working copy)
@@ -19,7 +19,7 @@

 # Skip some objects unconditionally; make sure each name in this list is
 # surrounded by spaces.
-skip=" crtbegin.o crtbeginS.o crtbeginT.o crtend.o crtendS.o
crtfastmath.o crtprec64.o crtprec80.o crtprec32.o "
+skip=" crtbegin.o crtbeginS.o crtbeginT.o crtend.o crtendS.o
crtfastmath.o crtprec64.o crtprec80.o crtprec32.o ecrti.o ecrtn.o "

 # Files which show up as dependencies other than through
unconditional #include.
 # This is an egrep pattern.
@@ -34,7 +34,7 @@
 set -e
 st=0

-if test -f c-common.o; then :; else
+if test -f c-family/c-common.o; then :; else
   echo "$0: rerun in an up to date build-tree/gcc directory" >&2
   exit 1
 fi

Reply via email to