diff options
author | ian <ian@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-01-11 18:59:30 +0000 |
---|---|---|
committer | ian <ian@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-01-11 18:59:30 +0000 |
commit | ab0157ddcf1f5d6ec814d0bdddeb4229cca4a309 (patch) | |
tree | 56d7c2c55abc394f28a0d6889567e9c6a4ab53d8 /libgo | |
parent | 28f3260762f1e8036d2a4ca75562630c14986357 (diff) | |
download | gcc-ab0157ddcf1f5d6ec814d0bdddeb4229cca4a309.tar.gz |
Add cgo support routines corresponding to the ones in 6g/8g.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168679 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgo')
-rw-r--r-- | libgo/Makefile.am | 1 | ||||
-rw-r--r-- | libgo/Makefile.in | 15 |
2 files changed, 13 insertions, 3 deletions
diff --git a/libgo/Makefile.am b/libgo/Makefile.am index 838fec7227b..54d6c3b1f30 100644 --- a/libgo/Makefile.am +++ b/libgo/Makefile.am @@ -312,6 +312,7 @@ runtime_files = \ runtime/go-breakpoint.c \ runtime/go-caller.c \ runtime/go-can-convert-interface.c \ + runtime/go-cgo.c \ runtime/go-chan-cap.c \ runtime/go-chan-len.c \ runtime/go-check-interface.c \ diff --git a/libgo/Makefile.in b/libgo/Makefile.in index 6e2a2dcef03..130c5e874b7 100644 --- a/libgo/Makefile.in +++ b/libgo/Makefile.in @@ -126,7 +126,7 @@ am__libgo_la_SOURCES_DIST = runtime/go-append.c runtime/go-assert.c \ runtime/go-assert-interface.c \ runtime/go-byte-array-to-string.c runtime/go-breakpoint.c \ runtime/go-caller.c runtime/go-can-convert-interface.c \ - runtime/go-chan-cap.c runtime/go-chan-len.c \ + runtime/go-cgo.c runtime/go-chan-cap.c runtime/go-chan-len.c \ runtime/go-check-interface.c runtime/go-close.c \ runtime/go-closed.c runtime/go-construct-map.c \ runtime/go-convert-interface.c runtime/go-copy.c \ @@ -172,8 +172,8 @@ am__libgo_la_SOURCES_DIST = runtime/go-append.c runtime/go-assert.c \ @LIBGO_IS_RTEMS_TRUE@am__objects_2 = rtems-task-variable-add.lo am__objects_3 = go-append.lo go-assert.lo go-assert-interface.lo \ go-byte-array-to-string.lo go-breakpoint.lo go-caller.lo \ - go-can-convert-interface.lo go-chan-cap.lo go-chan-len.lo \ - go-check-interface.lo go-close.lo go-closed.lo \ + go-can-convert-interface.lo go-cgo.lo go-chan-cap.lo \ + go-chan-len.lo go-check-interface.lo go-close.lo go-closed.lo \ go-construct-map.lo go-convert-interface.lo go-copy.lo \ go-defer.lo go-deferred-recover.lo go-eface-compare.lo \ go-eface-val-compare.lo go-getgoroot.lo go-go.lo \ @@ -678,6 +678,7 @@ runtime_files = \ runtime/go-breakpoint.c \ runtime/go-caller.c \ runtime/go-can-convert-interface.c \ + runtime/go-cgo.c \ runtime/go-chan-cap.c \ runtime/go-chan-len.c \ runtime/go-check-interface.c \ @@ -1886,6 +1887,7 @@ distclean-compile: @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/go-byte-array-to-string.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/go-caller.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/go-can-convert-interface.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/go-cgo.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/go-chan-cap.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/go-chan-len.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/go-check-interface.Plo@am__quote@ @@ -2062,6 +2064,13 @@ go-can-convert-interface.lo: runtime/go-can-convert-interface.c @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o go-can-convert-interface.lo `test -f 'runtime/go-can-convert-interface.c' || echo '$(srcdir)/'`runtime/go-can-convert-interface.c +go-cgo.lo: runtime/go-cgo.c +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT go-cgo.lo -MD -MP -MF $(DEPDIR)/go-cgo.Tpo -c -o go-cgo.lo `test -f 'runtime/go-cgo.c' || echo '$(srcdir)/'`runtime/go-cgo.c +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/go-cgo.Tpo $(DEPDIR)/go-cgo.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='runtime/go-cgo.c' object='go-cgo.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o go-cgo.lo `test -f 'runtime/go-cgo.c' || echo '$(srcdir)/'`runtime/go-cgo.c + go-chan-cap.lo: runtime/go-chan-cap.c @am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT go-chan-cap.lo -MD -MP -MF $(DEPDIR)/go-chan-cap.Tpo -c -o go-chan-cap.lo `test -f 'runtime/go-chan-cap.c' || echo '$(srcdir)/'`runtime/go-chan-cap.c @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/go-chan-cap.Tpo $(DEPDIR)/go-chan-cap.Plo |