]> Cypherpunks repositories - gostls13.git/commitdiff
runtime/cgo: update comments
authorHiroshi Ioka <hirochachacha@gmail.com>
Tue, 11 Jul 2017 08:31:29 +0000 (17:31 +0900)
committerIan Lance Taylor <iant@golang.org>
Fri, 11 Aug 2017 04:55:42 +0000 (04:55 +0000)
Change-Id: Ib5356181c3204c8f9922eeb4da1c06bfdb18f443
Reviewed-on: https://go-review.googlesource.com/54812
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/runtime/cgo/gcc_darwin_386.c
src/runtime/cgo/gcc_darwin_amd64.c

index 4ab3267d641fe3a2add24e827d3a425168c67415..9d1b942575529c194a93ad723fe1f673bceba7ea 100644 (file)
@@ -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.
index 181d0ab490c249acba3675deebc33813d83bb50f..9c2de6b2cd70fc9ad3fe9dd9262c8f27a9faa26b 100644 (file)
@@ -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.
         */