]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
dependency tracking fixes in ld
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Mon, 24 Aug 2009 05:57:44 +0000 (05:57 +0000)
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Mon, 24 Aug 2009 05:57:44 +0000 (05:57 +0000)
ld/:
* Makefile.am (ldmain.o, ldfile.o): Fix typos in non-fastdep
rules.
(eelf32_spu.o): Add dependency tracking.
* Makefile.in: Regenerate.

ld/ChangeLog
ld/Makefile.am
ld/Makefile.in

index f83f113bcc0ae5cf9b65a607809c9a8370dc02df..b2230e52d4d59d7ca077389dff3dc74590fa737b 100644 (file)
@@ -1,5 +1,10 @@
 2009-08-24  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
+       * Makefile.am (ldmain.o, ldfile.o): Fix typos in non-fastdep
+       rules.
+       (eelf32_spu.o): Add dependency tracking.
+       * Makefile.in: Regenerate.
+
        * Makefile.am (am__skiplex, am__skipyacc): New.
        * Makefile.in: Regenerate.
 
index bc4915c487463c9329d82092c1e221d722796901..146901569e272b7fafafdc806f61784168695a99 100644 (file)
@@ -523,7 +523,7 @@ if am__fastdepCC
        mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
 else
 if AMDEP
-       source='deffilep.c' object='$@' libtool=no @AMDEPBACKSLASH@
+       source='ldmain.c' object='$@' libtool=no @AMDEPBACKSLASH@
        DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
 endif
        $(COMPILE) -c -DDEFAULT_EMULATION='"$(EMUL)"' \
@@ -540,7 +540,7 @@ if am__fastdepCC
        mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
 else
 if AMDEP
-       source='deffilep.c' object='$@' libtool=no @AMDEPBACKSLASH@
+       source='ldfile.c' object='$@' libtool=no @AMDEPBACKSLASH@
        DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
 endif
        $(COMPILE) -c -DSCRIPTDIR='"$(scriptdir)"' -DBINDIR='"$(bindir)"' \
@@ -549,8 +549,18 @@ endif
 endif
 
 eelf32_spu.o: eelf32_spu.c
+if am__fastdepCC
+       $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ \
+         -DEMBEDSPU="\"`echo embedspu | sed '$(transform)'`\"" eelf32_spu.c
+       mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
+else
+if AMDEP
+       source='eelf32_spu.c' object='$@' libtool=no @AMDEPBACKSLASH@
+       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+endif
        $(COMPILE) -c -DEMBEDSPU="\"`echo embedspu | sed '$(transform)'`\"" \
          eelf32_spu.c
+endif
 
 ldemul-list.h: Makefile
        (echo "/* This file is automatically generated.  DO NOT EDIT! */";\
index f36e34c3b02a2fe3b4971e8048ad63dbdb965817..75d853d979a4bec1385421a5f4f8027eaccc1f64 100644 (file)
@@ -1883,7 +1883,7 @@ ldmain.o: ldmain.c config.status
 @am__fastdepCC_TRUE@     -DTARGET='"@target@"' @TARGET_SYSTEM_ROOT_DEFINE@ \
 @am__fastdepCC_TRUE@     $(srcdir)/ldmain.c
 @am__fastdepCC_TRUE@   mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      source='deffilep.c' object='$@' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@      source='ldmain.c' object='$@' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
 @am__fastdepCC_FALSE@  $(COMPILE) -c -DDEFAULT_EMULATION='"$(EMUL)"' \
 @am__fastdepCC_FALSE@    -DBINDIR='"$(bindir)"' -DTOOLBINDIR='"$(tooldir)/bin"' \
@@ -1895,15 +1895,20 @@ ldfile.o: ldfile.c config.status
 @am__fastdepCC_TRUE@   -DSCRIPTDIR='"$(scriptdir)"' -DBINDIR='"$(bindir)"' -DTOOLBINDIR='"$(tooldir)/bin"' \
 @am__fastdepCC_TRUE@    $(srcdir)/ldfile.c
 @am__fastdepCC_TRUE@   mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      source='deffilep.c' object='$@' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@      source='ldfile.c' object='$@' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
 @am__fastdepCC_FALSE@  $(COMPILE) -c -DSCRIPTDIR='"$(scriptdir)"' -DBINDIR='"$(bindir)"' \
 @am__fastdepCC_FALSE@    -DTOOLBINDIR='"$(tooldir)/bin"' \
 @am__fastdepCC_FALSE@    $(srcdir)/ldfile.c
 
 eelf32_spu.o: eelf32_spu.c
-       $(COMPILE) -c -DEMBEDSPU="\"`echo embedspu | sed '$(transform)'`\"" \
-         eelf32_spu.c
+@am__fastdepCC_TRUE@   $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ \
+@am__fastdepCC_TRUE@     -DEMBEDSPU="\"`echo embedspu | sed '$(transform)'`\"" eelf32_spu.c
+@am__fastdepCC_TRUE@   mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
+@AMDEP_TRUE@@am__fastdepCC_FALSE@      source='eelf32_spu.c' object='$@' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@  $(COMPILE) -c -DEMBEDSPU="\"`echo embedspu | sed '$(transform)'`\"" \
+@am__fastdepCC_FALSE@    eelf32_spu.c
 
 ldemul-list.h: Makefile
        (echo "/* This file is automatically generated.  DO NOT EDIT! */";\