From: Hiroshi Ioka Date: Tue, 11 Jul 2017 08:31:29 +0000 (+0900) Subject: runtime/cgo: update comments X-Git-Tag: go1.10beta1~1650 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=6bf220803255f6193366bb5c3e7eba48affa610b;p=gostls13.git runtime/cgo: update comments Change-Id: Ib5356181c3204c8f9922eeb4da1c06bfdb18f443 Reviewed-on: https://go-review.googlesource.com/54812 Reviewed-by: Ian Lance Taylor --- diff --git a/src/runtime/cgo/gcc_darwin_386.c b/src/runtime/cgo/gcc_darwin_386.c index 4ab3267d64..9d1b942575 100644 --- a/src/runtime/cgo/gcc_darwin_386.c +++ b/src/runtime/cgo/gcc_darwin_386.c @@ -39,8 +39,8 @@ inittls(void) * * The linker and runtime hard-code this constant offset * from %gs where we expect to find g. - * Known to ../../../liblink/sym.c:/468 - * and to ../sys_darwin_386.s:/468 + * Known to src/cmd/link/internal/ld/sym.go:/0x468 + * and to src/runtime/sys_darwin_386.s:/0x468 * * This is truly disgusting and a bit fragile, but taking care * of it here protects the rest of the system from damage. diff --git a/src/runtime/cgo/gcc_darwin_amd64.c b/src/runtime/cgo/gcc_darwin_amd64.c index 181d0ab490..9c2de6b2cd 100644 --- a/src/runtime/cgo/gcc_darwin_amd64.c +++ b/src/runtime/cgo/gcc_darwin_amd64.c @@ -28,8 +28,8 @@ inittls(void) * * The linker and runtime hard-code this constant offset * from %gs where we expect to find g. - * Known to ../../../liblink/sym.c:/8a0 - * and to ../sys_darwin_amd64.s:/8a0 + * Known to src/cmd/link/internal/ld/sym.go:/0x8a0 + * and to src/runtime/sys_darwin_amd64.s:/0x8a0 * * As disgusting as on the 386; same justification. */