![]() When cgo is used the address of the g struct is saved on the special register TPIDR_EL0. Because executing C code could overwrite the contents of R28 that normally contains the address of g we should read it from TPIDR_EL0 instead when runtime.iscgo is set. |
||
---|---|---|
.. | ||
auxv.go | ||
doc.go | ||
dynamic.go | ||
regs_amd64_arch.go | ||
regs_arm64_arch.go | ||
regs_i386_arch.go | ||
regs_test.go |