• H
    proc: read G struct offset from runtime.tlsg if possible (#883) · 7d2834a9
    heschik 提交于
    When a Go program is externally linked, the external linker is
    responsible for picking the TLS offset. It records its decision in the
    runtime.tlsg symbol. Read the offset from that rather than guessing -16.
    
    This implementation causes a regression: 1.4 and earlier will no longer
    work.
    7d2834a9
core.go 9.0 KB