]> Cypherpunks repositories - gostls13.git/commitdiff
runtime: fix TODO comment filepath
authorKoichi Shiraishi <zchee.io@gmail.com>
Sat, 15 Sep 2018 08:06:08 +0000 (17:06 +0900)
committerIan Lance Taylor <iant@golang.org>
Sat, 15 Sep 2018 14:31:12 +0000 (14:31 +0000)
The cmd/compile/internal/ld/go.go file not exist, actually cmd/link/internal/ld/go.go.
Also, write line number is not good because it changes every commit of the file.

Change-Id: Id2b9f2c9904390adb011dab357716ee8e2fe84fc
Reviewed-on: https://go-review.googlesource.com/135516
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/runtime/sys_darwin.go

index 7efbef746cd83867e7dbf0c75f043b20e6e075f2..9b0cc6f9350a90af6f77539e0e16aa98097b18fd 100644 (file)
@@ -370,5 +370,5 @@ func closeonexec(fd int32) {
 //go:cgo_import_dynamic libc_pthread_cond_signal pthread_cond_signal "/usr/lib/libSystem.B.dylib"
 
 // Magic incantation to get libSystem actually dynamically linked.
-// TODO: Why does the code require this?  See cmd/compile/internal/ld/go.go:210
+// TODO: Why does the code require this?  See cmd/link/internal/ld/go.go
 //go:cgo_import_dynamic _ _ "/usr/lib/libSystem.B.dylib"