aboutsummaryrefslogtreecommitdiff
path: root/gcc/go/Make-lang.in
diff options
context:
space:
mode:
authorThan McIntosh <thanm@google.com>2016-09-09 18:27:42 +0000
committerIan Lance Taylor <ian@gcc.gnu.org>2016-09-09 18:27:42 +0000
commit34144b6ec0548510df171956040f91a8742def29 (patch)
tree8e69d15b9145f6056b170cf44fb802a3b9139ed2 /gcc/go/Make-lang.in
parente81e83d04796b834c9f3e63d74b7202bca28e5c9 (diff)
downloadgcc-34144b6ec0548510df171956040f91a8742def29.zip
gcc-34144b6ec0548510df171956040f91a8742def29.tar.gz
gcc-34144b6ec0548510df171956040f91a8742def29.tar.bz2
compiler: add abstraction layer for sha1 checksums.
Add new interface for the front end code to use when computing SHA1 checksums; the intent is to allow the different implementation in different back ends. No change in functionality for gccgo; this is an enabling change to permit the front end to be used with other back ends (e.g. LLVM). Reviewed-on: https://go-review.googlesource.com/28833 * go-sha1.cc: New file. * Make-lang.in (GO_OBJS): Add go/go-sha1.o. (CFLAGS-go/go-sha1.o): New variable. From-SVN: r240053
Diffstat (limited to 'gcc/go/Make-lang.in')
-rw-r--r--gcc/go/Make-lang.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/go/Make-lang.in b/gcc/go/Make-lang.in
index d5b2a77..e7011f9 100644
--- a/gcc/go/Make-lang.in
+++ b/gcc/go/Make-lang.in
@@ -59,6 +59,7 @@ GO_OBJS = \
go/go-lang.o \
go/go-linemap.o \
go/go-optimize.o \
+ go/go-sha1.o \
go/go.o \
go/gogo.o \
go/import.o \
@@ -225,6 +226,7 @@ GOINCLUDES = -I $(srcdir)/go -I $(srcdir)/go/gofrontend
CFLAGS-go/go-gcc.o += $(GOINCLUDES)
CFLAGS-go/go-linemap.o += $(GOINCLUDES)
+CFLAGS-go/go-sha1.o += $(GOINCLUDES)
go/%.o: go/gofrontend/%.cc
$(COMPILE) $(GOINCLUDES) $<