• Russ Cox's avatar
    liblink: fix field tracking · d9c9665f
    Russ Cox authored
    The USEFIELD instructions no longer make it to the linker,
    so we have to do something else to pin the references
    they were pinning. Emit a 0-length relocation of type R_USEFIELD.
    
    Fixes #7486.
    
    LGTM=iant
    R=golang-codereviews, iant
    CC=golang-codereviews, r
    https://golang.org/cl/95530043
    d9c9665f
link.h 13 KB