aboutsummaryrefslogtreecommitdiff
path: root/gcc/go/Make-lang.in
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@google.com>2010-12-04 01:47:21 +0000
committerIan Lance Taylor <ian@gcc.gnu.org>2010-12-04 01:47:21 +0000
commit3dcdeeb24bb56e82edc9c6a136028df504ba1d1e (patch)
treec171c12e8ffacae44c074e5a825254f5a831b6e5 /gcc/go/Make-lang.in
parent43dcc93137e15a6dd85d73d869764dafcc52fb67 (diff)
downloadgcc-3dcdeeb24bb56e82edc9c6a136028df504ba1d1e.zip
gcc-3dcdeeb24bb56e82edc9c6a136028df504ba1d1e.tar.gz
gcc-3dcdeeb24bb56e82edc9c6a136028df504ba1d1e.tar.bz2
re PR bootstrap/46776 (gogo-tree.cc uses TRAMPOLINE_ALIGNMENT and TRAMPOLINE_SIZE)
PR bootstrap/46776 * go-backend.c: New file. * go-c.h (go_type_alignment): Declare. (go_field_alignment, go_trampoline_info): Declare. * Make-lang.in (GO_OBJS): Add go/go-backend.o. (go/go-backend.o): New target. (go/go-lang.o): Make dependencies match source file. (go/expressions.o): Don't depend on $(TM_H) $(TM_P_H). (go/gogo-tree.o): Don't depend on $(TM_H). Remove #include "tm.h" from gofrontend/*.cc. From-SVN: r167451
Diffstat (limited to 'gcc/go/Make-lang.in')
-rw-r--r--gcc/go/Make-lang.in15
1 files changed, 9 insertions, 6 deletions
diff --git a/gcc/go/Make-lang.in b/gcc/go/Make-lang.in
index 971490c..fc981d4 100644
--- a/gcc/go/Make-lang.in
+++ b/gcc/go/Make-lang.in
@@ -48,6 +48,7 @@ GO_OBJS = \
go/dataflow.o \
go/export.o \
go/expressions.o \
+ go/go-backend.o \
go/go-dump.o \
go/go-lang.o \
go/go.o \
@@ -215,10 +216,12 @@ GO_STATEMENTS_H = go/gofrontend/statements.h go/gofrontend/operator.h
GO_EXPRESSIONS_H = go/gofrontend/expressions.h go/gofrontend/operator.h
GO_IMPORT_H = go/gofrontend/import.h go/gofrontend/export.h
-go/go-lang.o: go/go-lang.c $(GO_SYSTEM_H) coretypes.h opts.h $(TREE_H) \
- $(GIMPLE_H) $(GGC_H) $(TOPLEV_H) debug.h options.h $(FLAGS_H) \
- convert.h langhooks.h $(LANGHOOKS_DEF_H) $(EXCEPT_H) $(TARGET_H) \
- $(DIAGNOSTIC_H) $(GO_C_H) gt-go-go-lang.h gtype-go.h
+go/go-backend.o: go/go-backend.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \
+ $(TREE_H) $(TM_H) $(TM_P_H)
+go/go-lang.o: go/go-lang.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(OPTS_H) \
+ $(TREE_H) $(GIMPLE_H) $(GGC_H) $(TOPLEV_H) debug.h options.h \
+ $(FLAGS_H) convert.h $(DIAGNOSTIC_H) langhooks.h $(LANGHOOKS_DEF_H) \
+ $(EXCEPT_H) $(TARGET_H) $(GO_C_H) gt-go-go-lang.h gtype-go.h
GOINCLUDES = -I $(srcdir)/go -I $(srcdir)/go/gofrontend
@@ -232,14 +235,14 @@ go/export.o: go/gofrontend/export.cc $(GO_SYSTEM_H) \
$(GO_GOGO_H) $(GO_TYPES_H) $(GO_STATEMENTS_H) go/gofrontend/export.h
go/expressions.o: go/gofrontend/expressions.cc $(GO_SYSTEM_H) $(TOPLEV_H) \
intl.h $(TREE_H) $(GIMPLE_H) tree-iterator.h convert.h $(REAL_H) \
- realmpfr.h $(TM_H) $(TM_P_H) $(GO_C_H) $(GO_GOGO_H) $(GO_TYPES_H) \
+ realmpfr.h $(GO_C_H) $(GO_GOGO_H) $(GO_TYPES_H) \
go/gofrontend/export.h $(GO_IMPORT_H) $(GO_STATEMENTS_H) $(GO_LEX_H) \
$(GO_EXPRESSIONS_H)
go/go.o: go/gofrontend/go.cc $(GO_SYSTEM_H) $(GO_C_H) $(GO_LEX_H) \
$(GO_PARSE_H) $(GO_GOGO_H)
go/go-dump.o: go/gofrontend/go-dump.cc $(GO_SYSTEM_H) $(GO_C_H) \
go/gofrontend/go-dump.h
-go/gogo-tree.o: go/gofrontend/gogo-tree.cc $(GO_SYSTEM_H) $(TM_H) $(TOPLEV_H) \
+go/gogo-tree.o: go/gofrontend/gogo-tree.cc $(GO_SYSTEM_H) $(TOPLEV_H) \
$(TREE_H) $(GIMPLE_H) tree-iterator.h $(CGRAPH_H) langhooks.h \
convert.h output.h $(DIAGNOSTIC_H) $(RTL_H) $(GO_TYPES_H) \
$(GO_EXPRESSIONS_H) $(GO_STATEMENTS_H) $(GO_GOGO_H)