Patchwork Fix dependencies for tlink.o

login
register
mail settings
Submitter Diego Novillo
Date Nov. 20, 2012, 4:24 p.m.
Message ID <20121120162406.GA10600@google.com>
Download mbox | patch
Permalink /patch/200384/
State New
Headers show

Comments

Diego Novillo - Nov. 20, 2012, 4:24 p.m.
Found while changing code in vec.h and doing incremental builds.

Committed.


2012-11-20  Diego Novillo  <dnovillo@google.com>

	* Makefile.in (tlink.o): Add dependency on VEC_H.
---
 gcc/ChangeLog   |    4 ++++
 gcc/Makefile.in |    2 +-
 2 files changed, 5 insertions(+), 1 deletions(-)

Patch

diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 21948b9..b1d1603 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,9 @@ 
 2012-11-20  Diego Novillo  <dnovillo@google.com>
 
+	* Makefile.in (tlink.o): Add dependency on VEC_H.
+
+2012-11-20  Diego Novillo  <dnovillo@google.com>
+
 	PR middle-end/55398
 	* vec.h (class vec_prefix): Make every field public.
 	Rename field alloc_ to alloc_PRIVATE_.
diff --git a/gcc/Makefile.in b/gcc/Makefile.in
index d74e7b3..76a2ca6 100644
--- a/gcc/Makefile.in
+++ b/gcc/Makefile.in
@@ -1908,7 +1908,7 @@  collect2-aix.o : collect2-aix.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
     collect2-aix.h
 
 tlink.o: tlink.c $(DEMANGLE_H) $(HASHTAB_H) $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
-    $(OBSTACK_H) collect2.h intl.h $(DIAGNOSTIC_CORE_H)
+    $(OBSTACK_H) collect2.h intl.h $(DIAGNOSTIC_CORE_H) $(VEC_H)
 
 lto-wrapper$(exeext): lto-wrapper.o ggc-none.o libcommon-target.a $(LIBDEPS)
 	+$(LINKER) $(ALL_COMPILERFLAGS) $(LDFLAGS) -o T$@ \