FAQ
https://codereview.appspot.com/6620050/diff/9002/src/pkg/runtime/runtime.h
File src/pkg/runtime/runtime.h (right):

https://codereview.appspot.com/6620050/diff/9002/src/pkg/runtime/runtime.h#newcode88
src/pkg/runtime/runtime.h:88: * It may be an actual dedicated register
such as R10, or a slot indexed by
* On the ARM, it is an actual register; elsewhere it is a slot in
thread-local storage
* indexed by a segment register.
*
* Every C file...

Even src/cmd/dist/buildruntime.c is not the full story. 0(GS) and
4(GS)/8(GS) are really even themselves pseudo-locations turned into real
things by the linker. But let's not get into that here.

https://codereview.appspot.com/6620050/diff/9002/src/pkg/runtime/runtime.h#newcode89
src/pkg/runtime/runtime.h:89: * a register such as 4(GS). The register
and index used depends on the OS
s/register/segment register/

https://codereview.appspot.com/6620050/

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupgolang-dev @
categoriesgo
postedOct 6, '12 at 10:57p
activeOct 6, '12 at 10:57p
posts1
users1
websitegolang.org

1 user in discussion

Rsc: 1 post

People

Translate

site design / logo © 2022 Grokbase