diff options
author | Ian Lance Taylor <ian@gcc.gnu.org> | 2016-10-15 00:29:06 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@gcc.gnu.org> | 2016-10-15 00:29:06 +0000 |
commit | 35d942444418606e75f2e65aa7708616c5233035 (patch) | |
tree | 156c9d476a537c240533dedcf79341b37bcdf5d9 /libgo/Makefile.in | |
parent | 2a0b23da0560f4d321e28ae3673cd130ebf0e8f8 (diff) | |
download | gcc-35d942444418606e75f2e65aa7708616c5233035.zip gcc-35d942444418606e75f2e65aa7708616c5233035.tar.gz gcc-35d942444418606e75f2e65aa7708616c5233035.tar.bz2 |
runtime: copy runtime package time code from Go 1.7
Fix handling of function values for -fgo-c-header to generate FuncVal*,
not simply FuncVal.
While we're here change runtime.nanotime to use clock_gettime with
CLOCK_MONOTONIC, rather than gettimeofday. This is what the gc library
does. It provides nanosecond precision and a monotonic clock.
Reviewed-on: https://go-review.googlesource.com/31232
From-SVN: r241197
Diffstat (limited to 'libgo/Makefile.in')
-rw-r--r-- | libgo/Makefile.in | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/libgo/Makefile.in b/libgo/Makefile.in index 1955ede..4de7131 100644 --- a/libgo/Makefile.in +++ b/libgo/Makefile.in @@ -262,8 +262,7 @@ am__objects_6 = go-append.lo go-assert.lo go-assert-interface.lo \ $(am__objects_2) panic.lo parfor.lo print.lo proc.lo \ runtime.lo signal_unix.lo thread.lo $(am__objects_3) yield.lo \ $(am__objects_4) go-iface.lo lfstack.lo malloc.lo netpoll.lo \ - rdebug.lo reflect.lo runtime1.lo sigqueue.lo time.lo \ - $(am__objects_5) + rdebug.lo reflect.lo runtime1.lo sigqueue.lo $(am__objects_5) am_libgo_llgo_la_OBJECTS = $(am__objects_6) libgo_llgo_la_OBJECTS = $(am_libgo_llgo_la_OBJECTS) libgo_llgo_la_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \ @@ -918,7 +917,6 @@ runtime_files = \ reflect.c \ runtime1.c \ sigqueue.c \ - time.c \ $(runtime_getncpu_file) noinst_DATA = zstdpkglist.go @@ -1636,7 +1634,6 @@ distclean-compile: @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/thread-linux.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/thread-sema.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/thread.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/time.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/yield.Plo@am__quote@ .c.o: |