PR go/66574
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 21 Nov 2015 01:27:44 +0000 (01:27 +0000)
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 21 Nov 2015 01:27:44 +0000 (01:27 +0000)
commit2b19d6878472189bbd622199ca90f23fb7f5129d
treece90880ae1cd1318680980381769544c90f941c8
parent30adea30570840d9b4bcbd1cf7786f19ecf2e06d
PR go/66574
    runtime: Use clock_gettime to get current time.

    Fetch the current time in nanoseconds, not microseconds, by using
    clock_gettime rather than gettimeofday.

    Update golang/go#11222.

    Fixes https://gcc.gnu.org/PR66574.

    Reviewed-on: https://go-review.googlesource.com/17156

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@230694 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/go/gofrontend/MERGE
libgo/configure
libgo/configure.ac
libgo/runtime/go-now.c